Package org.apache.iceberg.expressions
Class BoundPredicate<T>
- java.lang.Object
-
- org.apache.iceberg.expressions.Predicate<T,BoundTerm<T>>
-
- org.apache.iceberg.expressions.BoundPredicate<T>
-
- All Implemented Interfaces:
java.io.Serializable,Bound<java.lang.Boolean>,Expression
- Direct Known Subclasses:
BoundLiteralPredicate,BoundSetPredicate,BoundUnaryPredicate
public abstract class BoundPredicate<T> extends Predicate<T,BoundTerm<T>> implements Bound<java.lang.Boolean>
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.iceberg.expressions.Expression
Expression.Operation
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBoundPredicate(Expression.Operation op, BoundTerm<T> term)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description BoundLiteralPredicate<T>asLiteralPredicate()BoundSetPredicate<T>asSetPredicate()BoundUnaryPredicate<T>asUnaryPredicate()java.lang.Booleaneval(StructLike struct)Produce a value from the struct for this expression.booleanisLiteralPredicate()booleanisSetPredicate()booleanisUnaryPredicate()BoundReference<?>ref()Returns the underlying reference.booleantest(StructLike struct)abstract booleantest(T value)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.iceberg.expressions.Expression
isEquivalentTo, negate
-
-
-
-
Constructor Detail
-
BoundPredicate
protected BoundPredicate(Expression.Operation op, BoundTerm<T> term)
-
-
Method Detail
-
test
public boolean test(StructLike struct)
-
test
public abstract boolean test(T value)
-
eval
public java.lang.Boolean eval(StructLike struct)
Description copied from interface:BoundProduce a value from the struct for this expression.
-
ref
public BoundReference<?> ref()
Description copied from interface:BoundReturns the underlying reference.
-
isUnaryPredicate
public boolean isUnaryPredicate()
-
asUnaryPredicate
public BoundUnaryPredicate<T> asUnaryPredicate()
-
isLiteralPredicate
public boolean isLiteralPredicate()
-
asLiteralPredicate
public BoundLiteralPredicate<T> asLiteralPredicate()
-
isSetPredicate
public boolean isSetPredicate()
-
asSetPredicate
public BoundSetPredicate<T> asSetPredicate()
-
-