Class for the data management component responsible for the representation of the data in a numerical format.
More...
| void allocateDataMemory |
( |
| ) |
|
Allocates memory for a data set
Deallocates the memory allocated for a data set
| DoubleBuffer getBlockOfColumnValues |
( |
long |
featureIndex, |
|
|
long |
vectorIndex, |
|
|
long |
vectorNum, |
|
|
DoubleBuffer |
buf |
|
) |
| |
Gets block of values for a given feature and returns it to java.nio.DoubleBuffer. This function needs to be defined by user in the subclass of this class.
- Parameters
-
| featureIndex | Index of the feature |
| vectorIndex | Index of the first row to include into the block |
| vectorNum | Number of values in the block |
| buf | Buffer to store results |
- Returns
- Block of values of the feature packed into the DoubleBuffer
| FloatBuffer getBlockOfColumnValues |
( |
long |
featureIndex, |
|
|
long |
vectorIndex, |
|
|
long |
vectorNum, |
|
|
FloatBuffer |
buf |
|
) |
| |
Gets block of values for a given feature and returns it to java.nio.FloatBuffer. This function needs to be defined by user in the subclass of this class.
- Parameters
-
| featureIndex | Index of the feature |
| vectorIndex | Index of the first row to include into the block |
| vectorNum | Number of values in the block |
| buf | Buffer to store results |
- Returns
- Block of values of the feature packed into the FloatBuffer
| IntBuffer getBlockOfColumnValues |
( |
long |
featureIndex, |
|
|
long |
vectorIndex, |
|
|
long |
vectorNum, |
|
|
IntBuffer |
buf |
|
) |
| |
Gets block of values for a given feature and returns it to java.nio.IntBuffer. This function needs to be defined by user in the subclass of this class.
- Parameters
-
| featureIndex | Index of the feature |
| vectorIndex | Index of the first row to include into the block |
| vectorNum | Number of values in the block |
| buf | Buffer to store results |
- Returns
- Block of values of the feature packed into the IntBuffer
| DoubleBuffer getBlockOfRows |
( |
long |
vectorIndex, |
|
|
long |
vectorNum, |
|
|
DoubleBuffer |
buf |
|
) |
| |
Reads block of rows from the table and returns it to java.nio.DoubleBuffer. This method needs to be defined by user in the subclass of this class.
- Parameters
-
| vectorIndex | Index of the first row to include into the block |
| vectorNum | Number of rows in the block |
| buf | Buffer to store results |
- Returns
- Block of table rows packed into DoubleBuffer
| FloatBuffer getBlockOfRows |
( |
long |
vectorIndex, |
|
|
long |
vectorNum, |
|
|
FloatBuffer |
buf |
|
) |
| |
Reads block of rows from the table and returns it to java.nio.FloatBuffer. This method needs to be defined by user in the subclass of this class.
- Parameters
-
| vectorIndex | Index of the first row to include into the block |
| vectorNum | Number of rows in the block |
| buf | Buffer to store results |
- Returns
- Block of table rows packed into FloatBuffer
| IntBuffer getBlockOfRows |
( |
long |
vectorIndex, |
|
|
long |
vectorNum, |
|
|
IntBuffer |
buf |
|
) |
| |
Reads block of rows from the table and returns it to java.nio.IntBuffer. This method needs to be defined by user in the subclass of this class.
- Parameters
-
| vectorIndex | Index of the first row to include into the block |
| vectorNum | Number of rows in the block |
| buf | Buffer to store results |
- Returns
- Block of table rows packed into IntBuffer
| long getCNumericTable |
( |
| ) |
|
Returns the address of the native object
- Returns
- Address of the native object
Returns the address of the native object
- Returns
- Address of the native object
Return data storage layout
- Returns
- Data storage Layout
Return the status of the memory used by a data set connected with a Numeric Table
- Returns
- Status of the memory used by a data set connected with a Numeric Table
Returns the data dictionary
- Returns
- Data dictionary
| double getDoubleValue |
( |
long |
column, |
|
|
long |
row |
|
) |
| |
Returns value by given column and row from the numeric table
- Parameters
-
- Returns
- Value from numeric table
Returns the type of a given feature
- Parameters
-
- Returns
- Feature type
| float getFloatValue |
( |
long |
column, |
|
|
long |
row |
|
) |
| |
Returns value by given column and row from the numeric table
- Parameters
-
- Returns
- Value from numeric table
| int getIntValue |
( |
long |
column, |
|
|
long |
row |
|
) |
| |
Returns value by given column and row from the numeric table
- Parameters
-
- Returns
- Value from numeric table
| long getNumberOfColumns |
( |
| ) |
|
Gets number of columns in the table
- Returns
- Number of columns in the table
Gets number of rows in the table
- Returns
- Number of rows in the table
Checks if dataset stored in the numeric table is normalized, according to the given normalization flag
- Parameters
-
| flag | Normalization flag to check |
- Returns
- Check result
| void releaseBlockOfColumnValues |
( |
long |
featureIndex, |
|
|
long |
vectorIndex, |
|
|
long |
vectorNum, |
|
|
DoubleBuffer |
buf |
|
) |
| |
Transfers the values of a given feature from the input DoubleBuffer into a block of values of the feature in the table. This function needs to be defined by user in the subclass of this class.
- Parameters
-
| featureIndex | Index of the feature |
| vectorIndex | Index of the first row to include into the block |
| vectorNum | Number of values in the block |
| buf | Input DoubleBuffer of size vectorNum |
| void releaseBlockOfColumnValues |
( |
long |
featureIndex, |
|
|
long |
vectorIndex, |
|
|
long |
vectorNum, |
|
|
FloatBuffer |
buf |
|
) |
| |
Transfers the values of a given feature from the input FloatBuffer into a block of values of the feature in the table. This function needs to be defined by user in the subclass of this class.
- Parameters
-
| featureIndex | Index of the feature |
| vectorIndex | Index of the first row to include into the block |
| vectorNum | Number of values in the block |
| buf | Input FloatBuffer of size vectorNum |
| void releaseBlockOfColumnValues |
( |
long |
featureIndex, |
|
|
long |
vectorIndex, |
|
|
long |
vectorNum, |
|
|
IntBuffer |
buf |
|
) |
| |
Transfers the values of a given feature from the input IntBuffer into a block of values of the feature in the table. This function needs to be defined by user in the subclass of this class.
- Parameters
-
| featureIndex | Index of the feature |
| vectorIndex | Index of the first row to include into the block |
| vectorNum | Number of values in the block |
| buf | Input IntBuffer of size vectorNum |
| void releaseBlockOfRows |
( |
long |
vectorIndex, |
|
|
long |
vectorNum, |
|
|
DoubleBuffer |
buf |
|
) |
| |
Transfers the data from the input DoubleBuffer into a block of table rows. This function needs to be defined by user in the subclass of this class.
- Parameters
-
| vectorIndex | Index of the first row to include into the block |
| vectorNum | Number of rows in the block |
| buf | Input DoubleBuffer with the capacity vectorNum * nColumns, where nColumns is the number of columns in the table |
| void releaseBlockOfRows |
( |
long |
vectorIndex, |
|
|
long |
vectorNum, |
|
|
FloatBuffer |
buf |
|
) |
| |
Transfers the data from the input FloatBuffer into a block of table rows. This function needs to be defined by user in the subclass of this class.
- Parameters
-
| vectorIndex | Index of the first row to include into the block |
| vectorNum | Number of rows in the block |
| buf | Input FloatBuffer with the capacity vectorNum * nColumns, where nColumns is the number of columns in the table |
| void releaseBlockOfRows |
( |
long |
vectorIndex, |
|
|
long |
vectorNum, |
|
|
IntBuffer |
buf |
|
) |
| |
Transfers the data from the input IntBuffer into a block of table rows. This function needs to be defined by user in the subclass of this class.
- Parameters
-
| vectorIndex | Index of the first row to include into the block |
| vectorNum | Number of rows in the block |
| buf | Input IntBuffer with the capacity vectorNum * nColumns, where nColumns is the number of columns in the table |
Sets a data dictionary in the Numeric Table
- Parameters
-
| ddict | Pointer to the data dictionary |
Sets the normalization flag for dataset stored in the numeric table
- Parameters
-
- Returns
- Previous value of the normalization flag
| void setNumberOfColumns |
( |
long |
nCol | ) |
|
Sets number of columns in the table
- Parameters
-
| void setNumberOfRows |
( |
long |
nRow | ) |
|
Sets number of rows in the table
- Parameters
-
The documentation for this class was generated from the following file: