Package org.apache.iceberg.expressions
Class BoundSetPredicate<T>
- java.lang.Object
-
- org.apache.iceberg.expressions.Predicate<T,BoundTerm<T>>
-
- org.apache.iceberg.expressions.BoundPredicate<T>
-
- org.apache.iceberg.expressions.BoundSetPredicate<T>
-
- All Implemented Interfaces:
java.io.Serializable
,Bound<java.lang.Boolean>
,Expression
public class BoundSetPredicate<T> extends BoundPredicate<T>
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.iceberg.expressions.Expression
Expression.Operation
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BoundSetPredicate<T>
asSetPredicate()
boolean
isSetPredicate()
java.util.Set<T>
literalSet()
Expression
negate()
Returns the negation of this expression, equivalent to not(this).boolean
test(T value)
java.lang.String
toString()
-
Methods inherited from class org.apache.iceberg.expressions.BoundPredicate
asLiteralPredicate, asUnaryPredicate, eval, isLiteralPredicate, isUnaryPredicate, ref, test
-
-
-
-
Method Detail
-
negate
public Expression negate()
Description copied from interface:Expression
Returns the negation of this expression, equivalent to not(this).
-
isSetPredicate
public boolean isSetPredicate()
- Overrides:
isSetPredicate
in classBoundPredicate<T>
-
asSetPredicate
public BoundSetPredicate<T> asSetPredicate()
- Overrides:
asSetPredicate
in classBoundPredicate<T>
-
literalSet
public java.util.Set<T> literalSet()
-
test
public boolean test(T value)
- Specified by:
test
in classBoundPredicate<T>
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-