Package org.apache.iceberg.expressions
Interface BoundTerm<T>
-
- Type Parameters:
T
- the Java type of values produced by this term
- All Known Implementing Classes:
BoundReference
,BoundTransform
public interface BoundTerm<T> extends Bound<T>, Term
Represents a bound term.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default java.util.Comparator<T>
comparator()
Returns aComparator
for values produced by this term.boolean
isEquivalentTo(BoundTerm<?> other)
Returns whether this term is equivalent to another.Type
type()
Returns the type produced by this expression.
-
-
-
Method Detail
-
type
Type type()
Returns the type produced by this expression.
-
comparator
default java.util.Comparator<T> comparator()
Returns aComparator
for values produced by this term.
-
isEquivalentTo
boolean isEquivalentTo(BoundTerm<?> other)
Returns whether this term is equivalent to another.- Parameters:
other
- a term- Returns:
- true if this term returns the same values as the other, false otherwise
-
-