Column Store
Public Member Functions | Private Attributes | List of all members
ColumnStore::ColStoreDataSource Class Reference

#include <ColStoreDataGenerator.h>

Inheritance diagram for ColumnStore::ColStoreDataSource:
Inheritance graph
Collaboration diagram for ColumnStore::ColStoreDataSource:
Collaboration graph

Public Member Functions

 ColStoreDataSource (string column_store_path, string p_name)
 
DataRecord next ()
 
bool hasNext ()
 
- 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

MetadataManagerSingleton manager
 
std::ifstream file
 
string projection_name
 
int count
 
int tuples_move_count
 
ColumnStoreData column_store_data
 
vector< Parser::Columncolumns
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ ColStoreDataSource()

ColumnStore::ColStoreDataSource::ColStoreDataSource ( string  column_store_path,
string  p_name 
)
inline
Here is the call graph for this function:

Member Function Documentation

◆ hasNext()

bool ColumnStore::ColStoreDataSource::hasNext ( )
inlinevirtual
Returns
returns true if record can be generated

Implements ColumnStore::DataGeneratorInterface.

◆ next()

DataRecord ColumnStore::ColStoreDataSource::next ( )
inlinevirtual
Returns
next record

Implements ColumnStore::DataGeneratorInterface.

Here is the call graph for this function:

Member Data Documentation

◆ column_store_data

ColumnStoreData ColumnStore::ColStoreDataSource::column_store_data
private

◆ columns

vector<Parser::Column> ColumnStore::ColStoreDataSource::columns
private

◆ count

int ColumnStore::ColStoreDataSource::count
private

◆ file

std::ifstream ColumnStore::ColStoreDataSource::file
private

◆ manager

MetadataManagerSingleton ColumnStore::ColStoreDataSource::manager
private

◆ projection_name

string ColumnStore::ColStoreDataSource::projection_name
private

◆ tuples_move_count

int ColumnStore::ColStoreDataSource::tuples_move_count
private

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