public class UnboundPredicate<T> extends Predicate<T,UnboundTerm<T>> implements Unbound<T,Expression>
Expression.Operation
Modifier and Type | Method and 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() |
public NamedReference<?> ref()
Unbound
ref
in interface Unbound<T,Expression>
public Expression negate()
Expression
negate
in interface Expression
public Expression bind(Types.StructType struct, boolean caseSensitive)
bind
in interface Unbound<T,Expression>
struct
- The struct type
to resolve references by name.caseSensitive
- A boolean flag to control whether the bind should enforce case sensitivity.Expression
ValidationException
- if literals do not match bound references, or if comparison on expression is invalidpublic java.lang.String toString()
toString
in class java.lang.Object