Package org.apache.iceberg.expressions
Class ExpressionVisitors.BoundExpressionVisitor<R>
java.lang.Object
org.apache.iceberg.expressions.ExpressionVisitors.ExpressionVisitor<R>
org.apache.iceberg.expressions.ExpressionVisitors.BoundExpressionVisitor<R>
- Enclosing class:
- ExpressionVisitors
public abstract static class ExpressionVisitors.BoundExpressionVisitor<R>
extends ExpressionVisitors.ExpressionVisitor<R>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<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, 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, 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) Methods inherited from class org.apache.iceberg.expressions.ExpressionVisitors.ExpressionVisitor
aggregate, aggregate, alwaysFalse, alwaysTrue, and, not, or
-
Constructor Details
-
BoundExpressionVisitor
public BoundExpressionVisitor()
-
-
Method Details
-
isNull
-
notNull
-
isNaN
-
notNaN
-
lt
-
ltEq
-
gt
-
gtEq
-
eq
-
notEq
-
in
-
notIn
-
startsWith
-
notStartsWith
-
handleNonReference
Handle a non-reference value in this visitor.Visitors that require
references
and notterms
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.- Type Parameters:
T
- a Java return type- Parameters:
term
- a non-reference bound expression- Returns:
- a return value for the visitor
-
predicate
- Overrides:
predicate
in classExpressionVisitors.ExpressionVisitor<R>
-
predicate
- Overrides:
predicate
in classExpressionVisitors.ExpressionVisitor<R>
-