Package org.apache.iceberg.expressions
Class UnboundPredicate<T>
- java.lang.Object
-
- org.apache.iceberg.expressions.Predicate<T,UnboundTerm<T>>
-
- org.apache.iceberg.expressions.UnboundPredicate<T>
-
- All Implemented Interfaces:
java.io.Serializable,Expression,Unbound<T,Expression>
public class UnboundPredicate<T> extends Predicate<T,UnboundTerm<T>> implements Unbound<T,Expression>
- 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 Expressionbind(Types.StructType struct, boolean caseSensitive)Bind this UnboundPredicate.Literal<T>literal()java.util.List<Literal<T>>literals()Expressionnegate()Returns the negation of this expression, equivalent to not(this).NamedReference<?>ref()Returns this expression's underlying reference.java.lang.StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.iceberg.expressions.Expression
isEquivalentTo
-
-
-
-
Method Detail
-
ref
public NamedReference<?> ref()
Description copied from interface:UnboundReturns this expression's underlying reference.- Specified by:
refin interfaceUnbound<T,Expression>
-
negate
public Expression negate()
Description copied from interface:ExpressionReturns the negation of this expression, equivalent to not(this).- Specified by:
negatein interfaceExpression
-
bind
public Expression bind(Types.StructType struct, boolean caseSensitive)
Bind this UnboundPredicate.- Specified by:
bindin interfaceUnbound<T,Expression>- Parameters:
struct- Thestruct typeto resolve references by name.caseSensitive- A boolean flag to control whether the bind should enforce case sensitivity.- Returns:
- an
Expression - Throws:
ValidationException- if literals do not match bound references, or if comparison on expression is invalid
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-