Class BoundAggregate<T,C>

java.lang.Object
org.apache.iceberg.expressions.Aggregate<BoundTerm<T>>
org.apache.iceberg.expressions.BoundAggregate<T,C>
All Implemented Interfaces:
Serializable, Bound<C>, Expression
Direct Known Subclasses:
CountAggregate, MaxAggregate, MinAggregate

public class BoundAggregate<T,C> extends Aggregate<BoundTerm<T>> implements Bound<C>
See Also:
  • Constructor Details

  • Method Details

    • eval

      public C 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>
    • type

      public Type type()
    • columnName

      public String columnName()
    • describe

      public String describe()