Class that provides methods to access a collection of numeric tables as if they are joined by columns.
More...
Constructs empty merged numeric table
- Parameters
-
context | Context to manage created merged numeric table |
Constructs merged numeric table from C++ merged numeric table
- Parameters
-
context | Context to manage created merged numeric table |
cTable | Pointer to C++ numeric table |
Constructs merged numeric table consisting of one table
- Parameters
-
context | Context to manage created merged numeric table |
table | Pointer to the Numeric Table |
Constructs merged numeric table consisting of two tables
- Parameters
-
context | Context to manage created merged numeric table |
first | Pointer to the first Numeric Table |
second | Pointer to the second Numeric Table |
Adds the table to the right of the merged numeric table
- Parameters
-
table | Pointer to the Numeric Table |
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 getNumberOfColumns |
( |
| ) |
|
Gets number of columns in the table
- Returns
- Number of columns in the table
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, |
|
|
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, |
|
|
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, |
|
|
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 |
The documentation for this class was generated from the following file:
- MergedNumericTableImpl.java