Package com.querydsl.core.support
Class CollectionAnyVisitor
java.lang.Object
com.querydsl.core.support.CollectionAnyVisitor
- All Implemented Interfaces:
Visitor<Expression<?>,Context>
CollectionAnyVisitor is an expression visitor which transforms any() path expressions which are
often transformed into subqueries- Author:
- tiwe
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected PredicateExpression<?>Visit a Constant instance with the given contextExpression<?>visit(FactoryExpression<?> expr, Context context) Visit a FactoryExpression instance with the given contextExpression<?>Visit an Operation instance with the given contextExpression<?>visit(ParamExpression<?> expr, Context context) Visit a ParamExpression instance with the given contextExpression<?>Visit a Path instance with the given contextExpression<?>visit(SubQueryExpression<?> expr, Context context) Visit a SubQueryExpression instance with the given contextExpression<?>visit(TemplateExpression<?> expr, Context context) Visit a TemplateExpression instance with the given context
-
Constructor Details
-
CollectionAnyVisitor
public CollectionAnyVisitor()
-
-
Method Details
-
visit
Description copied from interface:VisitorVisit a Constant instance with the given context- Specified by:
visitin interfaceVisitor<Expression<?>,Context> - Parameters:
expr- expression to visitcontext- context of the visit or null, if not used- Returns:
- visit result
-
visit
Description copied from interface:VisitorVisit a TemplateExpression instance with the given context- Specified by:
visitin interfaceVisitor<Expression<?>,Context> - Parameters:
expr- expression to visitcontext- context of the visit or null, if not used- Returns:
- visit result
-
visit
Description copied from interface:VisitorVisit a FactoryExpression instance with the given context- Specified by:
visitin interfaceVisitor<Expression<?>,Context> - Parameters:
expr- expression to visitcontext- context of the visit or null, if not used- Returns:
- visit result
-
visit
Description copied from interface:VisitorVisit an Operation instance with the given context- Specified by:
visitin interfaceVisitor<Expression<?>,Context> - Parameters:
expr- expression to visitcontext- context of the visit or null, if not used- Returns:
- visit result
-
exists
-
visit
Description copied from interface:VisitorVisit a Path instance with the given context- Specified by:
visitin interfaceVisitor<Expression<?>,Context> - Parameters:
expr- expression to visitcontext- context of the visit or null, if not used- Returns:
- visit result
-
visit
Description copied from interface:VisitorVisit a SubQueryExpression instance with the given context- Specified by:
visitin interfaceVisitor<Expression<?>,Context> - Parameters:
expr- expression to visitcontext- context of the visit or null, if not used- Returns:
- visit result
-
visit
Description copied from interface:VisitorVisit a ParamExpression instance with the given context- Specified by:
visitin interfaceVisitor<Expression<?>,Context> - Parameters:
expr- expression to visitcontext- context of the visit or null, if not used- Returns:
- visit result
-