Class that provides methods to access data stored as a Apache Arrow table.
More...
|
static DAAL_FORCEINLINE
services::SharedPtr
< ArrowImmutableNumericTable > | create (const std::shared_ptr< arrow::Table > &table, services::Status *stat=NULL) |
|
static DAAL_FORCEINLINE
services::SharedPtr
< ArrowImmutableNumericTable > | create (const std::shared_ptr< const arrow::Table > &table, services::Status *stat=NULL) |
|
static DAAL_FORCEINLINE services::SharedPtr<ArrowImmutableNumericTable> create |
( |
const std::shared_ptr< arrow::Table > & |
table, |
|
|
services::Status * |
stat = NULL |
|
) |
| |
|
inlinestatic |
Constructs an empty Numeric Table
- Parameters
-
[in] | table | Apache Arrow table |
[out] | stat | Status of the numeric table construction |
- Returns
- Empty numeric table
static DAAL_FORCEINLINE services::SharedPtr<ArrowImmutableNumericTable> create |
( |
const std::shared_ptr< const arrow::Table > & |
table, |
|
|
services::Status * |
stat = NULL |
|
) |
| |
|
inlinestatic |
Constructs an empty Numeric Table
- Parameters
-
[in] | table | Apache Arrow table |
[out] | stat | Status of the numeric table construction |
- Returns
- Empty numeric table
services::Status getBlockOfColumnValues |
( |
size_t |
feature_idx, |
|
|
size_t |
vector_idx, |
|
|
size_t |
value_num, |
|
|
ReadWriteMode |
rwflag, |
|
|
BlockDescriptor< double > & |
block |
|
) |
| |
|
inlinevirtual |
Gets a block of values for a given feature.
- Parameters
-
[in] | feature_idx | Feature index. |
[in] | vector_idx | Index of the first feature vector to include into the block. |
[in] | value_num | Number of feature values in the block. |
[in] | rwflag | Flag specifying read/write access to the block of feature values. |
[out] | block | The block of feature values. |
- Returns
- Actual number of feature values returned by the method.
Implements DenseNumericTableIface.
services::Status getBlockOfColumnValues |
( |
size_t |
feature_idx, |
|
|
size_t |
vector_idx, |
|
|
size_t |
value_num, |
|
|
ReadWriteMode |
rwflag, |
|
|
BlockDescriptor< float > & |
block |
|
) |
| |
|
inlinevirtual |
Gets a block of values for a given feature.
- Parameters
-
[in] | feature_idx | Feature index. |
[in] | vector_idx | Index of the first feature vector to include into the block. |
[in] | value_num | Number of feature values in the block. |
[in] | rwflag | Flag specifying read/write access to the block of feature values. |
[out] | block | The block of feature values. |
- Returns
- Actual number of feature values returned by the method.
Implements DenseNumericTableIface.
services::Status getBlockOfColumnValues |
( |
size_t |
feature_idx, |
|
|
size_t |
vector_idx, |
|
|
size_t |
value_num, |
|
|
ReadWriteMode |
rwflag, |
|
|
BlockDescriptor< int > & |
block |
|
) |
| |
|
inlinevirtual |
Gets a block of values for a given feature.
- Parameters
-
[in] | feature_idx | Feature index. |
[in] | vector_idx | Index of the first feature vector to include into the block. |
[in] | value_num | Number of feature values in the block. |
[in] | rwflag | Flag specifying read/write access to the block of feature values. |
[out] | block | The block of feature values. |
- Returns
- Actual number of feature values returned by the method.
Implements DenseNumericTableIface.
services::Status getBlockOfRows |
( |
size_t |
vector_idx, |
|
|
size_t |
vector_num, |
|
|
ReadWriteMode |
rwflag, |
|
|
BlockDescriptor< double > & |
block |
|
) |
| |
|
inlinevirtual |
Gets a block of rows from a table.
- Parameters
-
[in] | vector_idx | Index of the first row to include into the block. |
[in] | vector_num | Number of rows in the block. |
[in] | rwflag | Flag specifying read/write access to the block of feature vectors. |
[out] | block | The block of feature vectors. |
- Returns
- Actual number of feature vectors returned by the method.
Implements DenseNumericTableIface.
services::Status getBlockOfRows |
( |
size_t |
vector_idx, |
|
|
size_t |
vector_num, |
|
|
ReadWriteMode |
rwflag, |
|
|
BlockDescriptor< float > & |
block |
|
) |
| |
|
inlinevirtual |
Gets a block of rows from a table.
- Parameters
-
[in] | vector_idx | Index of the first row to include into the block. |
[in] | vector_num | Number of rows in the block. |
[in] | rwflag | Flag specifying read/write access to the block of feature vectors. |
[out] | block | The block of feature vectors. |
- Returns
- Actual number of feature vectors returned by the method.
Implements DenseNumericTableIface.
services::Status getBlockOfRows |
( |
size_t |
vector_idx, |
|
|
size_t |
vector_num, |
|
|
ReadWriteMode |
rwflag, |
|
|
BlockDescriptor< int > & |
block |
|
) |
| |
|
inlinevirtual |
Gets a block of rows from a table.
- Parameters
-
[in] | vector_idx | Index of the first row to include into the block. |
[in] | vector_num | Number of rows in the block. |
[in] | rwflag | Flag specifying read/write access to the block of feature vectors. |
[out] | block | The block of feature vectors. |
- Returns
- Actual number of feature vectors returned by the method.
Implements DenseNumericTableIface.
services::Status releaseBlockOfColumnValues |
( |
BlockDescriptor< double > & |
block | ) |
|
|
inlinevirtual |
Releases a block of values for a given feature.
- Parameters
-
[in] | block | The block of feature values. |
Implements DenseNumericTableIface.
services::Status releaseBlockOfColumnValues |
( |
BlockDescriptor< float > & |
block | ) |
|
|
inlinevirtual |
Releases a block of values for a given feature.
- Parameters
-
[in] | block | The block of feature values. |
Implements DenseNumericTableIface.
services::Status releaseBlockOfColumnValues |
( |
BlockDescriptor< int > & |
block | ) |
|
|
inlinevirtual |
Releases a block of values for a given feature.
- Parameters
-
[in] | block | The block of feature values. |
Implements DenseNumericTableIface.
The documentation for this class was generated from the following file: