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 Expression
bind(Types.StructType struct, boolean caseSensitive)
Bind this UnboundPredicate.Literal<T>
literal()
java.util.List<Literal<T>>
literals()
Expression
negate()
Returns the negation of this expression, equivalent to not(this).NamedReference<?>
ref()
Returns this expression's underlying reference.java.lang.String
toString()
-
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:Unbound
Returns this expression's underlying reference.- Specified by:
ref
in interfaceUnbound<T,Expression>
-
negate
public Expression negate()
Description copied from interface:Expression
Returns the negation of this expression, equivalent to not(this).- Specified by:
negate
in interfaceExpression
-
bind
public Expression bind(Types.StructType struct, boolean caseSensitive)
Bind this UnboundPredicate.- Specified by:
bind
in interfaceUnbound<T,Expression>
- Parameters:
struct
- Thestruct type
to 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:
toString
in classjava.lang.Object
-
-