Column Store
Public Member Functions | Protected Attributes | List of all members
ColumnStore::DataGeneratorInterface Class Referenceabstract

Interface for relational data sources. More...

#include <DataGeneratorInterface.h>

Inheritance diagram for ColumnStore::DataGeneratorInterface:
Inheritance graph
Collaboration diagram for ColumnStore::DataGeneratorInterface:
Collaboration graph

Public Member Functions

virtual DataRecord next ()=0
 
virtual bool hasNext ()=0
 
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...
 

Protected Attributes

Metadata metadata
 metadata for processing queries More...
 

Detailed Description

Interface for relational data sources.

Designed as a generator exposing interfaces next() and hasNext(). All data sources should comply to this interface.

See also
GenericQueryBuilder
GenericDataGenerator

Constructor & Destructor Documentation

◆ ~DataGeneratorInterface()

virtual ColumnStore::DataGeneratorInterface::~DataGeneratorInterface ( )
inlinevirtual

Destroy the Data Generator Interface object.

Member Function Documentation

◆ getMetadata()

Metadata ColumnStore::DataGeneratorInterface::getMetadata ( ) const

Interface for relational data sources.

Returns
Metadata
See also
DataRecordMetadata

Designed as a generator exposing interfaces next() and hasNext(). All data sources should comply to this interface.

See also
GenericQueryBuilder
GenericDataGenerator
Returns
Metadata
See also
DataRecordMetadata
Here is the caller graph for this function:

◆ hasNext()

virtual bool ColumnStore::DataGeneratorInterface::hasNext ( )
pure virtual

◆ next()

virtual DataRecord ColumnStore::DataGeneratorInterface::next ( )
pure virtual

◆ nextBatch()

std::vector< DataRecord > ColumnStore::DataGeneratorInterface::nextBatch ( int  records)
virtual

Helper function to return batch of records.

Intended to be used for batch processing.

Returns
batch of records
Here is the call graph for this function:

◆ print()

void ColumnStore::DataGeneratorInterface::print ( int  recordCount = -1)

Print the data.

Pretty print the relational data in a tabular form with column names

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ metadata

Metadata ColumnStore::DataGeneratorInterface::metadata
protected

metadata for processing queries


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