public class CollectionAnyVisitor extends Object implements Visitor<Expression<?>,Context>
CollectionAnyVisitor
is an expression visitor which transforms any() path expressions which are
often transformed into subqueriesConstructor and Description |
---|
CollectionAnyVisitor() |
Modifier and Type | Method and Description |
---|---|
protected Predicate |
exists(Context c,
Predicate condition) |
Expression<?> |
visit(Constant<?> expr,
Context context)
Visit a Constant instance with the given context
|
Expression<?> |
visit(FactoryExpression<?> expr,
Context context)
Visit a FactoryExpression instance with the given context
|
Expression<?> |
visit(Operation<?> expr,
Context context)
Visit an Operation instance with the given context
|
Expression<?> |
visit(ParamExpression<?> expr,
Context context)
Visit a ParamExpression instance with the given context
|
Expression<?> |
visit(Path<?> expr,
Context context)
Visit a Path instance with the given context
|
Expression<?> |
visit(SubQueryExpression<?> expr,
Context context)
Visit a SubQueryExpression instance with the given context
|
Expression<?> |
visit(TemplateExpression<?> expr,
Context context)
Visit a TemplateExpression instance with the given context
|
public Expression<?> visit(Constant<?> expr, Context context)
Visitor
visit
in interface Visitor<Expression<?>,Context>
expr
- expression to visitcontext
- context of the visit or null, if not usedpublic Expression<?> visit(TemplateExpression<?> expr, Context context)
Visitor
visit
in interface Visitor<Expression<?>,Context>
expr
- expression to visitcontext
- context of the visit or null, if not usedpublic Expression<?> visit(FactoryExpression<?> expr, Context context)
Visitor
visit
in interface Visitor<Expression<?>,Context>
expr
- expression to visitcontext
- context of the visit or null, if not usedpublic Expression<?> visit(Operation<?> expr, Context context)
Visitor
visit
in interface Visitor<Expression<?>,Context>
expr
- expression to visitcontext
- context of the visit or null, if not usedpublic Expression<?> visit(Path<?> expr, Context context)
Visitor
visit
in interface Visitor<Expression<?>,Context>
expr
- expression to visitcontext
- context of the visit or null, if not usedpublic Expression<?> visit(SubQueryExpression<?> expr, Context context)
Visitor
visit
in interface Visitor<Expression<?>,Context>
expr
- expression to visitcontext
- context of the visit or null, if not usedpublic Expression<?> visit(ParamExpression<?> expr, Context context)
Visitor
visit
in interface Visitor<Expression<?>,Context>
expr
- expression to visitcontext
- context of the visit or null, if not usedCopyright © 2007–2016 Querydsl. All rights reserved.