iceberg-cpp
Loading...
Searching...
No Matches
Public Member Functions | List of all members
iceberg::BoundAggregate::Aggregator Class Referenceabstract

Base class for aggregators. More...

#include <aggregate.h>

Public Member Functions

virtual Status Update (const StructLike &data)=0
 
virtual Status Update (const DataFile &file)=0
 
virtual bool IsValid () const =0
 Whether the aggregator is still valid.
 
virtual Literal GetResult () const =0
 Get the result of the aggregation.
 

Detailed Description

Base class for aggregators.

Member Function Documentation

◆ GetResult()

virtual Literal iceberg::BoundAggregate::Aggregator::GetResult ( ) const
pure virtual

Get the result of the aggregation.

Returns
The result of the aggregation.
Note
It is an undefined behavior to call this method if any previous Update call has returned an error or if IsValid() returns false.

The documentation for this class was generated from the following file: