Java* API Reference for Intel® Data Analytics Acceleration Library 2019 Update 5

List of all members
MergedNumericTableImpl Class Reference

Class that provides methods to access a collection of numeric tables as if they are joined by columns. More...

Class Constructor

Constructs empty merged numeric table

Parameters
contextContext to manage created merged numeric table
MergedNumericTableImpl ( DaalContext  context,
long  cTable 
)

Constructs merged numeric table from C++ merged numeric table

Parameters
contextContext to manage created merged numeric table
cTablePointer to C++ numeric table

Constructs merged numeric table consisting of one table

Parameters
contextContext to manage created merged numeric table
tablePointer to the Numeric Table
MergedNumericTableImpl ( DaalContext  context,
NumericTable  first,
NumericTable  second 
)

Constructs merged numeric table consisting of two tables

Parameters
contextContext to manage created merged numeric table
firstPointer to the first Numeric Table
secondPointer to the second Numeric Table

Detailed Description

Member Function Documentation

void addNumericTable ( NumericTable  table)

Adds the table to the right of the merged numeric table

Parameters
tablePointer 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
featureIndexIndex of the feature
vectorIndexIndex of the first row to include into the block
vectorNumNumber of values in the block
bufBuffer 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
featureIndexIndex of the feature
vectorIndexIndex of the first row to include into the block
vectorNumNumber of values in the block
bufBuffer 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
featureIndexIndex of the feature
vectorIndexIndex of the first row to include into the block
vectorNumNumber of values in the block
bufBuffer 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
vectorIndexIndex of the first row to include into the block
vectorNumNumber of rows in the block
bufBuffer 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
vectorIndexIndex of the first row to include into the block
vectorNumNumber of rows in the block
bufBuffer 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
vectorIndexIndex of the first row to include into the block
vectorNumNumber of rows in the block
bufBuffer 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
featureIndexIndex of the feature
vectorIndexIndex of the first row to include into the block
vectorNumNumber of values in the block
bufInput 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
featureIndexIndex of the feature
vectorIndexIndex of the first row to include into the block
vectorNumNumber of values in the block
bufInput 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
featureIndexIndex of the feature
vectorIndexIndex of the first row to include into the block
vectorNumNumber of values in the block
bufInput 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
vectorIndexIndex of the first row to include into the block
vectorNumNumber of rows in the block
bufInput 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
vectorIndexIndex of the first row to include into the block
vectorNumNumber of rows in the block
bufInput 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
vectorIndexIndex of the first row to include into the block
vectorNumNumber of rows in the block
bufInput 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:

For more complete information about compiler optimizations, see our Optimization Notice.