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...
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
|
Enumerator |
---|
notDictionaryFromContext |
Do not create dictionary automatically
|
doDictionaryFromContext |
Do create dictionary when needed
|
Enumerator |
---|
notAllocateNumericTable |
Do not allocate Numeric Table automatically
|
doAllocateNumericTable |
Do allocate Numeric Table when needed
|
virtual services::Status allocateNumericTable |
( |
| ) |
|
|
pure virtual |
virtual services::Status createDictionaryFromContext |
( |
| ) |
|
|
pure virtual |
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 >.
virtual void freeNumericTable |
( |
| ) |
|
|
pure virtual |
Returns a pointer to a data dictionary
- Returns
- Pointer to the Data Dictionary
Implemented in DataSource.
virtual DataSourceDictionaryPtr getDictionarySharedPtr |
( |
| ) |
|
|
pure virtual |
Returns a shared pointer to a data dictionary
- Returns
- Shared pointer to the Data Dictionary
Implemented in DataSource.
virtual size_t getNumberOfAvailableRows |
( |
| ) |
|
|
pure virtual |
virtual size_t getNumberOfColumns |
( |
| ) |
|
|
pure virtual |
Returns the number of columns in a Data Source
- Returns
- Number of columns
Implemented in DataSource.
virtual NumericTablePtr getNumericTable |
( |
| ) |
|
|
pure virtual |
Returns a pointer to a Numeric Table associated with a Data Source
- Returns
- Pointer to the Numeric Table
Implemented in DataSource.
virtual size_t getNumericTableNumberOfColumns |
( |
| ) |
|
|
pure virtual |
virtual size_t loadDataBlock |
( |
size_t |
maxRows | ) |
|
|
pure virtual |
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 CsvDataSource< FeatureManager, SummaryStatisticsType >, and DataSource.
virtual size_t loadDataBlock |
( |
size_t |
maxRows, |
|
|
NumericTable * |
nt |
|
) |
| |
|
pure virtual |
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 >.
virtual size_t loadDataBlock |
( |
| ) |
|
|
pure virtual |
The documentation for this class was generated from the following file: