Abstract interface class that defines the interface for a data management component responsible for representation of data in the raw format. This class declares the most generic methods for data access.
More...
◆ DataSourceStatus
Enumerator |
---|
readyForLoad | Data is ready to be loaded via loadDataBlock() function
|
waitingForRows | No data is available, but it may be ready in future
|
endOfData | No data is available
|
notReady | DataSource not ready for loading
|
◆ DictionaryCreationFlag
Enumerator |
---|
notDictionaryFromContext | Do not create dictionary automatically
|
doDictionaryFromContext | Do create dictionary when needed
|
◆ NumericTableAllocationFlag
Enumerator |
---|
notAllocateNumericTable | Do not allocate Numeric Table automatically
|
doAllocateNumericTable | Do allocate Numeric Table when needed
|
◆ allocateNumericTable()
◆ createDictionaryFromContext()
Creates a Data Dictionary by extracting information from a Data Source
Implemented in ODBCDataSource< _featureManager, summaryStatisticsType >, CsvDataSource< _featureManager, _summaryStatisticsType >, KDBDataSource< _featureManager, summaryStatisticsType >, DataSource, StringDataSource< _featureManager, _summaryStatisticsType >, and FileDataSource< _featureManager, _summaryStatisticsType >.
◆ freeNumericTable()
virtual void freeNumericTable |
( |
| ) |
|
|
pure virtual |
◆ getDictionary()
Returns a pointer to a data dictionary
- Returns
- Pointer to the Data Dictionary
Implemented in DataSource.
◆ getDictionarySharedPtr()
Returns a shared pointer to a data dictionary
- Returns
- Shared pointer to the Data Dictionary
Implemented in DataSource.
◆ getNumberOfAvailableRows()
virtual size_t getNumberOfAvailableRows |
( |
| ) |
|
|
pure virtual |
◆ getNumberOfColumns()
virtual size_t getNumberOfColumns |
( |
| ) |
|
|
pure virtual |
Returns the number of columns in a Data Source
- Returns
- Number of columns
Implemented in DataSource.
◆ getNumericTable()
Returns a pointer to a Numeric Table associated with a Data Source
- Returns
- Pointer to the Numeric Table
Implemented in DataSource.
◆ getNumericTableNumberOfColumns()
virtual size_t getNumericTableNumberOfColumns |
( |
| ) |
|
|
pure virtual |
◆ getStatus()
◆ loadDataBlock() [1/6]
virtual size_t loadDataBlock |
( |
size_t |
maxRows | ) |
|
|
pure virtual |
◆ loadDataBlock() [2/6]
virtual size_t loadDataBlock |
( |
size_t |
maxRows, |
|
|
size_t |
rowOffset, |
|
|
size_t |
fullRows |
|
) |
| |
|
pure virtual |
Loads a data block of a specified size into an internally allocated Numeric Table
- Parameters
-
[in] | maxRows | Maximum number of rows to load from a Data Source into the Numeric Table |
[in] | rowOffset | Write data starting from rowOffset row |
[in] | fullRows | Maximum number of rows to allocate in the Numeric Table |
Implemented in DataSource, and CsvDataSource< _featureManager, _summaryStatisticsType >.
◆ loadDataBlock() [3/6]
virtual size_t loadDataBlock |
( |
size_t |
maxRows, |
|
|
NumericTable * |
nt |
|
) |
| |
|
pure virtual |
◆ loadDataBlock() [4/6]
virtual size_t loadDataBlock |
( |
size_t |
maxRows, |
|
|
size_t |
rowOffset, |
|
|
size_t |
fullRows, |
|
|
NumericTable * |
nt |
|
) |
| |
|
pure virtual |
Loads a data block of a specified size into an internally allocated Numeric Table
- Parameters
-
[in] | maxRows | Maximum number of rows to load from a Data Source into the Numeric Table |
[in] | rowOffset | Write data starting from rowOffset row |
[in] | fullRows | Maximum number of rows to allocate in the Numeric Table |
[in] | nt | Pointer to the Numeric Table |
Implemented in DataSource, and CsvDataSource< _featureManager, _summaryStatisticsType >.
◆ loadDataBlock() [5/6]
virtual size_t loadDataBlock |
( |
| ) |
|
|
pure virtual |
◆ loadDataBlock() [6/6]
◆ setDictionary()
The documentation for this class was generated from the following file: