Interface BoundTerm<T>

Type Parameters:
T - the Java type of values produced by this term
All Superinterfaces:
Bound<T>, Serializable, Term
All Known Implementing Classes:
BoundReference, BoundTransform

public interface BoundTerm<T> extends Bound<T>, Term
Represents a bound term.
  • Method Summary

    Modifier and Type
    Method
    Description
    default Comparator<T>
    Returns a Comparator for values produced by this term.
    boolean
    Returns whether this term is equivalent to another.
    Returns the type produced by this expression.

    Methods inherited from interface org.apache.iceberg.expressions.Bound

    eval, ref
  • Method Details

    • type

      Type type()
      Returns the type produced by this expression.
    • comparator

      default Comparator<T> comparator()
      Returns a Comparator 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