Column Store
|
Interface for relational data sources. More...
#include <DataGeneratorInterface.h>
Public Member Functions | |
virtual DataRecord | next ()=0 |
virtual bool | hasNext ()=0 |
Metadata | getMetadata () const |
Interface for relational data sources. More... | |
virtual std::vector< DataRecord > | nextBatch (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... | |
Protected Attributes | |
Metadata | metadata |
metadata for processing queries More... | |
Interface for relational data sources.
Designed as a generator exposing interfaces next() and hasNext(). All data sources should comply to this interface.
|
inlinevirtual |
Destroy the Data Generator Interface object.
Metadata ColumnStore::DataGeneratorInterface::getMetadata | ( | ) | const |
Interface for relational data sources.
Designed as a generator exposing interfaces next() and hasNext(). All data sources should comply to this interface.
|
pure virtual |
Implemented in GenericQuery::GenericGroupByAggregator, Postgres::PostgreSQLDataSource, GenericQuery::GenericDataAggregator, GenericQuery::GenericDataGenerator, CSV::CSVDataSource, and ColumnStore::ColStoreDataSource.
|
pure virtual |
Implemented in GenericQuery::GenericGroupByAggregator, GenericQuery::GenericDataAggregator, Postgres::PostgreSQLDataSource, GenericQuery::GenericDataGenerator, CSV::CSVDataSource, and ColumnStore::ColStoreDataSource.
|
virtual |
Helper function to return batch of records.
Intended to be used for batch processing.
void ColumnStore::DataGeneratorInterface::print | ( | int | recordCount = -1 | ) |
Print the data.
Pretty print the relational data in a tabular form with column names
|
protected |
metadata for processing queries