Class BoundPredicate<T>

java.lang.Object
org.apache.iceberg.expressions.Predicate<T,BoundTerm<T>>
org.apache.iceberg.expressions.BoundPredicate<T>
All Implemented Interfaces:
Serializable, Bound<Boolean>, Expression
Direct Known Subclasses:
BoundLiteralPredicate, BoundSetPredicate, BoundUnaryPredicate

public abstract class BoundPredicate<T> extends Predicate<T,BoundTerm<T>> implements Bound<Boolean>
See Also:
  • Constructor Details

  • Method Details

    • test

      public boolean test(StructLike struct)
    • test

      public abstract boolean test(T value)
    • eval

      public Boolean eval(StructLike struct)
      Description copied from interface: Bound
      Produce a value from the struct for this expression.
      Specified by:
      eval in interface Bound<T>
      Parameters:
      struct - a struct of incoming data
      Returns:
      the value of this expression when evaluated on the incoming struct
    • ref

      public BoundReference<?> ref()
      Description copied from interface: Bound
      Returns the underlying reference.
      Specified by:
      ref in interface Bound<T>
    • isUnaryPredicate

      public boolean isUnaryPredicate()
    • asUnaryPredicate

      public BoundUnaryPredicate<T> asUnaryPredicate()
    • isLiteralPredicate

      public boolean isLiteralPredicate()
    • asLiteralPredicate

      public BoundLiteralPredicate<T> asLiteralPredicate()
    • isSetPredicate

      public boolean isSetPredicate()
    • asSetPredicate

      public BoundSetPredicate<T> asSetPredicate()