Package com.blazebit.expression
Interface Expression.ResultVisitor<T>
-
- Type Parameters:
T
- The result type
- Enclosing interface:
- Expression
public static interface Expression.ResultVisitor<T>
A visitor for an expression that produces a result as part of the visitation.- Since:
- 1.0.0
- Author:
- Christian Beikov
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
visit(ArithmeticFactor e)
Visits the given expression and returns a result.T
visit(BetweenPredicate e)
Visits the given expression and returns a result.T
visit(ChainingArithmeticExpression e)
Visits the given expression and returns a result.T
visit(CollectionLiteral e)
Visits the given expression and returns a result.T
visit(ComparisonPredicate e)
Visits the given expression and returns a result.T
visit(CompoundPredicate e)
Visits the given expression and returns a result.T
visit(EntityLiteral e)
Visits the given expression and returns a result.T
visit(EnumLiteral e)
Visits the given expression and returns a result.T
visit(ExpressionPredicate e)
Visits the given expression and returns a result.T
visit(FunctionInvocation e)
Visits the given expression and returns a result.T
visit(InPredicate e)
Visits the given expression and returns a result.T
visit(IsEmptyPredicate e)
Visits the given expression and returns a result.T
visit(IsNullPredicate e)
Visits the given expression and returns a result.T
visit(Literal e)
Visits the given expression and returns a result.T
visit(Path e)
Visits the given expression and returns a result.
-
-
-
Method Detail
-
visit
T visit(ArithmeticFactor e)
Visits the given expression and returns a result.- Parameters:
e
- The expression to visit- Returns:
- the result
-
visit
T visit(ExpressionPredicate e)
Visits the given expression and returns a result.- Parameters:
e
- The expression to visit- Returns:
- the result
-
visit
T visit(BetweenPredicate e)
Visits the given expression and returns a result.- Parameters:
e
- The expression to visit- Returns:
- the result
-
visit
T visit(InPredicate e)
Visits the given expression and returns a result.- Parameters:
e
- The expression to visit- Returns:
- the result
-
visit
T visit(ChainingArithmeticExpression e)
Visits the given expression and returns a result.- Parameters:
e
- The expression to visit- Returns:
- the result
-
visit
T visit(CompoundPredicate e)
Visits the given expression and returns a result.- Parameters:
e
- The expression to visit- Returns:
- the result
-
visit
T visit(ComparisonPredicate e)
Visits the given expression and returns a result.- Parameters:
e
- The expression to visit- Returns:
- the result
-
visit
T visit(IsNullPredicate e)
Visits the given expression and returns a result.- Parameters:
e
- The expression to visit- Returns:
- the result
-
visit
T visit(IsEmptyPredicate e)
Visits the given expression and returns a result.- Parameters:
e
- The expression to visit- Returns:
- the result
-
visit
T visit(Path e)
Visits the given expression and returns a result.- Parameters:
e
- The expression to visit- Returns:
- the result
-
visit
T visit(FunctionInvocation e)
Visits the given expression and returns a result.- Parameters:
e
- The expression to visit- Returns:
- the result
-
visit
T visit(Literal e)
Visits the given expression and returns a result.- Parameters:
e
- The expression to visit- Returns:
- the result
-
visit
T visit(EnumLiteral e)
Visits the given expression and returns a result.- Parameters:
e
- The expression to visit- Returns:
- the result
-
visit
T visit(EntityLiteral e)
Visits the given expression and returns a result.- Parameters:
e
- The expression to visit- Returns:
- the result
-
visit
T visit(CollectionLiteral e)
Visits the given expression and returns a result.- Parameters:
e
- The expression to visit- Returns:
- the result
-
-