Class CountAggregate<T>

    • Method Detail

      • eval

        public java.lang.Long 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,​java.lang.Long>
        Parameters:
        struct - a struct of incoming data
        Returns:
        the value of this expression when evaluated on the incoming struct
      • eval

        public java.lang.Long eval​(DataFile file)
      • countFor

        protected java.lang.Long countFor​(StructLike row)
      • countFor

        protected java.lang.Long countFor​(DataFile file)
      • newAggregator

        public org.apache.iceberg.expressions.BoundAggregate.Aggregator<java.lang.Long> newAggregator()