|
Column Store
|
#include <CSVDataGenerator.h>


Public Member Functions | |
| CSVDataSource (std::string filename) | |
| Construct a new CSVDataSource object. More... | |
| DataRecord | next () |
| Generates the next record. More... | |
| bool | hasNext () |
| Checks if a record is available. More... | |
Public Member Functions inherited from ColumnStore::DataGeneratorInterface | |
| 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... | |
Private Attributes | |
| std::queue< DataRecord > | data |
| queue of data records for the generator More... | |
Additional Inherited Members | |
Protected Attributes inherited from ColumnStore::DataGeneratorInterface | |
| Metadata | metadata |
| metadata for processing queries More... | |
| CSV::CSVDataSource::CSVDataSource | ( | std::string | filename | ) |
Construct a new CSVDataSource object.
Constructor parses CSV data, generates all the data records and stores it in a queue for data record generation
| filename | of the CSV file |

|
virtual |
|
virtual |
|
private |
queue of data records for the generator
1.8.18