public abstract static class ExpressionVisitors.BoundExpressionVisitor<R> extends ExpressionVisitors.ExpressionVisitor<R>
Constructor and Description |
---|
BoundExpressionVisitor() |
Modifier and Type | Method and Description |
---|---|
<T> R |
eq(BoundReference<T> ref,
Literal<T> lit) |
<T> R |
gt(BoundReference<T> ref,
Literal<T> lit) |
<T> R |
gtEq(BoundReference<T> ref,
Literal<T> lit) |
<T> R |
handleNonReference(Bound<T> term)
Handle a non-reference value in this visitor.
|
<T> R |
in(BoundReference<T> ref,
java.util.Set<T> literalSet) |
<T> R |
isNaN(BoundReference<T> ref) |
<T> R |
isNull(BoundReference<T> ref) |
<T> R |
lt(BoundReference<T> ref,
Literal<T> lit) |
<T> R |
ltEq(BoundReference<T> ref,
Literal<T> lit) |
<T> R |
notEq(BoundReference<T> ref,
Literal<T> lit) |
<T> R |
notIn(BoundReference<T> ref,
java.util.Set<T> literalSet) |
<T> R |
notNaN(BoundReference<T> ref) |
<T> R |
notNull(BoundReference<T> ref) |
<T> R |
notStartsWith(BoundReference<T> ref,
Literal<T> lit) |
<T> R |
predicate(BoundPredicate<T> pred) |
<T> R |
predicate(UnboundPredicate<T> pred) |
<T> R |
startsWith(BoundReference<T> ref,
Literal<T> lit) |
aggregate, aggregate, alwaysFalse, alwaysTrue, and, not, or
public <T> R isNull(BoundReference<T> ref)
public <T> R notNull(BoundReference<T> ref)
public <T> R isNaN(BoundReference<T> ref)
public <T> R notNaN(BoundReference<T> ref)
public <T> R lt(BoundReference<T> ref, Literal<T> lit)
public <T> R ltEq(BoundReference<T> ref, Literal<T> lit)
public <T> R gt(BoundReference<T> ref, Literal<T> lit)
public <T> R gtEq(BoundReference<T> ref, Literal<T> lit)
public <T> R eq(BoundReference<T> ref, Literal<T> lit)
public <T> R notEq(BoundReference<T> ref, Literal<T> lit)
public <T> R in(BoundReference<T> ref, java.util.Set<T> literalSet)
public <T> R notIn(BoundReference<T> ref, java.util.Set<T> literalSet)
public <T> R startsWith(BoundReference<T> ref, Literal<T> lit)
public <T> R notStartsWith(BoundReference<T> ref, Literal<T> lit)
public <T> R handleNonReference(Bound<T> term)
Visitors that require references
and not terms
can
use this method to return a default value for expressions with non-references. The default
implementation will throw a validation exception because the non-reference is not supported.
T
- a Java return typeterm
- a non-reference bound expressionpublic <T> R predicate(BoundPredicate<T> pred)
predicate
in class ExpressionVisitors.ExpressionVisitor<R>
public <T> R predicate(UnboundPredicate<T> pred)
predicate
in class ExpressionVisitors.ExpressionVisitor<R>