Column Store
Public Member Functions | Private Attributes | List of all members
GenericQuery::GenericGroupByAggregator Class Reference

#include <GenericGenerator.h>

Inheritance diagram for GenericQuery::GenericGroupByAggregator:
Inheritance graph
Collaboration diagram for GenericQuery::GenericGroupByAggregator:
Collaboration graph

Public Member Functions

 GenericGroupByAggregator (GenericQueryBuilder builder)
 Construct a new Generic Data Generator object. More...
 
bool hasNext ()
 check if a record is available More...
 
DataRecord next ()
 generates a new record More...
 
- Public Member Functions inherited from ColumnStore::DataGeneratorInterface
Metadata getMetadata () const
 Interface for relational data sources. More...
 
virtual std::vector< DataRecordnextBatch (int batchSize)
 Helper function to return batch of records. More...
 
void print (int recordCount=-1)
 Print the data. More...
 
virtual ~DataGeneratorInterface ()
 Destroy the Data Generator Interface object. More...
 

Private Attributes

std::queue< ColumnStore::DataRecordrecords
 

Additional Inherited Members

- Protected Attributes inherited from ColumnStore::DataGeneratorInterface
Metadata metadata
 metadata for processing queries More...
 

Constructor & Destructor Documentation

◆ GenericGroupByAggregator()

GenericQuery::GenericGroupByAggregator::GenericGroupByAggregator ( GenericQueryBuilder  builder)
inline

Construct a new Generic Data Generator object.

The generator processes all column data and maps it to column indices for efficiency. All joined data sources are loaded into memory in the constructor

Parameters
builderobject to constuct generator from
Here is the call graph for this function:

Member Function Documentation

◆ hasNext()

bool GenericQuery::GenericGroupByAggregator::hasNext ( )
inlinevirtual

check if a record is available

Returns
true
false

Implements ColumnStore::DataGeneratorInterface.

◆ next()

DataRecord GenericQuery::GenericGroupByAggregator::next ( )
inlinevirtual

generates a new record

Returns
DataRecord

Implements ColumnStore::DataGeneratorInterface.

Member Data Documentation

◆ records

std::queue<ColumnStore::DataRecord> GenericQuery::GenericGroupByAggregator::records
private

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