Implements the abstract DataSourceIface interface.
More...
services::Status allocateNumericTableImpl |
( |
services::SharedPtr< NumericTableType > & |
nt | ) |
|
|
inlineprotected |
Allocates a Numeric Table that corresponds to the template type
- Template Parameters
-
NumericTableType | - Numeric Table type. |
- Parameters
-
nt | - Pointer to the allocated Numeric Table |
- Returns
- - Allocation status: True if the table is allocated, false otherwise.
services::Status allocateNumericTableImpl |
( |
services::SharedPtr< HomogenNumericTable< FPType > > & |
nt | ) |
|
|
inlineprotected |
Allocates a homogeneous Numeric Table that corresponds to the template type
- Template Parameters
-
FPType | - Type of the homogeneous Numeric Table |
- Parameters
-
nt | - Pointer to the allocated Numeric Table |
- Returns
- - Allocation status: True if the table is allocated, false otherwise.
services::Status checkDictionary |
( |
| ) |
|
|
inlineprotected |
services::Status checkNumericTable |
( |
| ) |
|
|
inlineprotected |
services::Status createDictionaryFromContext |
( |
| ) |
|
|
inlinevirtual |
Returns a pointer to a data dictionary
- Returns
- Pointer to the Data Dictionary
Implements DataSourceIface.
DataSourceDictionaryPtr getDictionarySharedPtr |
( |
| ) |
|
|
inlinevirtual |
Returns a shared pointer to a data dictionary
- Returns
- Shared pointer to the Data Dictionary
Implements DataSourceIface.
DAAL_DEPRECATED services::SharedPtr<services::ErrorCollection> getErrors |
( |
| ) |
|
|
inline |
For backward compatibility. Returns errors stored on the object
- Returns
- Errors stored on the object
- Deprecated:
- This item will be removed in a future release.
size_t getNumberOfColumns |
( |
| ) |
|
|
inlinevirtual |
Returns the number of columns in a Data Source
- Returns
- Number of columns
Implements DataSourceIface.
NumericTablePtr getNumericTable |
( |
| ) |
|
|
inlinevirtual |
Returns a pointer to a Numeric Table associated with a Data Source
- Returns
- Pointer to the Numeric Table
Implements DataSourceIface.
virtual size_t getNumericTableNumberOfColumns |
( |
| ) |
|
|
inlinevirtual |
size_t loadDataBlock |
( |
size_t |
maxRows | ) |
|
|
inlinevirtual |
size_t loadDataBlock |
( |
size_t |
maxRows, |
|
|
size_t |
rowOffset, |
|
|
size_t |
fullRows |
|
) |
| |
|
inlinevirtual |
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 |
Implements DataSourceIface.
size_t loadDataBlock |
( |
size_t |
maxRows, |
|
|
size_t |
rowOffset, |
|
|
size_t |
fullRows, |
|
|
NumericTable * |
nt |
|
) |
| |
|
inlinevirtual |
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 |
Implements DataSourceIface.
services::Status status |
( |
| ) |
const |
|
inline |
Returns errors during the computation
- Returns
- Errors during the computation
The documentation for this class was generated from the following file: