#include <GenericGenerator.h>
◆ GenericDataGenerator()
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
-
builder | object to constuct generator from |
◆ _getCandidateNext()
DataRecord GenericQuery::GenericDataGenerator::_getCandidateNext |
( |
| ) |
|
|
private |
Gets the next candidate record.
Gets the next record from base source. Applies join on the join map data. This function does not perform record validation.
- Returns
- DataRecord
◆ _getNext()
DataRecord GenericQuery::GenericDataGenerator::_getNext |
( |
| ) |
|
|
private |
internal function to process and generate next valid record
- Returns
- DataRecord
◆ _setNext()
void GenericQuery::GenericDataGenerator::_setNext |
( |
| ) |
|
|
private |
internal function to set the next valid record
If no valid record is found, it sets _hasNext to false
◆ hasNext()
bool GenericQuery::GenericDataGenerator::hasNext |
( |
| ) |
|
|
virtual |
◆ next()
DataRecord GenericQuery::GenericDataGenerator::next |
( |
| ) |
|
|
virtual |
◆ _hasNext
bool GenericQuery::GenericDataGenerator::_hasNext = false |
|
private |
◆ baseIndices
std::vector<int> GenericQuery::GenericDataGenerator::baseIndices |
|
private |
List of column indices to extract values from base source records.
◆ baseSource
DataSource GenericQuery::GenericDataGenerator::baseSource |
|
private |
◆ builder
builder object from which we are generating data
◆ joins
◆ nextRecord
DataRecord GenericQuery::GenericDataGenerator::nextRecord |
|
private |
◆ recordValidator
RecordValidator GenericQuery::GenericDataGenerator::recordValidator |
|
private |
The documentation for this class was generated from the following files: