Package org.apache.iceberg.expressions
Class AggregateEvaluator
java.lang.Object
org.apache.iceberg.expressions.AggregateEvaluator
A class for evaluating aggregates. It evaluates each of the aggregates and updates the aggregated
value. The final aggregated result can be returned by
result()
.-
Method Summary
Modifier and TypeMethodDescriptionList<BoundAggregate<?,
?>> boolean
static AggregateEvaluator
create
(List<BoundAggregate<?, ?>> aggregates) static AggregateEvaluator
create
(Schema schema, List<Expression> aggregates) result()
void
void
update
(StructLike struct)
-
Method Details
-
create
-
create
-
update
-
update
-
resultType
-
allAggregatorsValid
public boolean allAggregatorsValid() -
result
-
aggregates
-