Evaluates bound aggregates over StructLike data.
More...
#include <aggregate.h>
|
|
virtual Status | Update (const StructLike &data)=0 |
| | Update aggregates with a row.
|
| |
|
virtual Status | Update (const DataFile &file)=0 |
| | Update aggregates using data file metrics.
|
| |
|
virtual Result< std::span< const Literal > > | GetResults () const =0 |
| | Final aggregated value.
|
| |
|
virtual Result< Literal > | GetResult () const =0 |
| | Convenience accessor when only one aggregate is evaluated.
|
| |
|
virtual bool | AllAggregatorsValid () const =0 |
| | Whether all aggregators are still valid (metrics present).
|
| |
Evaluates bound aggregates over StructLike data.
◆ Make() [1/2]
Create an evaluator for a single bound aggregate.
- Parameters
-
| aggregate | The bound aggregate to evaluate across rows. |
◆ Make() [2/2]
Create an evaluator for multiple bound aggregates.
- Parameters
-
| aggregates | Aggregates to evaluate in one pass; order is preserved in Results(). |
The documentation for this class was generated from the following files:
- iceberg/expression/aggregate.h
- iceberg/expression/aggregate.cc