Class MaxAggregate<T>

All Implemented Interfaces:
Serializable, Bound<T>, Expression

public class MaxAggregate<T> extends BoundAggregate<T,T>
See Also:
  • Constructor Details

    • MaxAggregate

      protected MaxAggregate(BoundTerm<T> term)
  • Method Details

    • hasValue

      protected boolean hasValue(DataFile file)
    • evaluateRef

      protected Object evaluateRef(DataFile file)
    • newAggregator

      public org.apache.iceberg.expressions.BoundAggregate.Aggregator<T> newAggregator()
    • eval

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

      public T eval(DataFile file)