Specifies methods to access data stored in byte arrays in the C-string format.
More...
template<typename FeatureManager, typename SummaryStatisticsType = DAAL_SUMMARY_STATISTICS_TYPE>
class daal::data_management::interface1::StringDataSource< FeatureManager, SummaryStatisticsType >
- Template Parameters
-
_featureManager | FeatureManager used to get numeric data from file strings |
Main constructor for a Data Source
- Parameters
-
[in] | data | Byte array in the C-string format |
[in] | doAllocateNumericTable | Flag that specifies whether a Numeric Table associated with a File Data Source is allocated inside the Data Source |
[in] | doCreateDictionaryFromContext | Flag that specifies whether a Data Dictionary is created from the context of the File Data Source |
[in] | initialMaxRows | Initial value of maximum number of rows in Numeric Table allocated in loadDataBlock() method |
services::Status createDictionaryFromContext |
( |
| ) |
|
|
inlinevirtual |
Gets data source string data
- Returns
- Byte array in the C-string format
Returns the status of a Data Source
- Returns
- Status of the Data Source
Implements DataSourceIface.
Resets a data source string
void setData |
( |
const byte * |
data | ) |
|
|
inline |
Sets a new string as a source for data
- Parameters
-
[in] | data | Byte array in the C-string format |
The documentation for this class was generated from the following file: