Java* API Reference for Intel® Data Analytics Acceleration Library 2018 Update 3

Classes | List of all members
NumericTable Class Referenceabstract

Class for the data management component responsible for the representation of the data in a numerical format. More...

Detailed Description

Member Function Documentation

void allocateDataMemory ( )

Allocates memory for a data set

void freeDataMemory ( )

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
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 getCNumericTable ( )

Returns the address of the native object

Returns
Address of the native object
long getCObject ( )

Returns the address of the native object

Returns
Address of the native object
StorageLayout getDataLayout ( )

Return data storage layout

Returns
Data storage Layout
MemoryStatus getDataMemoryStatus ( )

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
DataDictionary getDictionary ( )

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
columnColumn
rowRow
Returns
Value from numeric table
DataFeature getFeatureType ( int  idx)

Returns the type of a given feature

Parameters
idxFeature index
Returns
Feature type
float getFloatValue ( long  column,
long  row 
)

Returns value by given column and row from the numeric table

Parameters
columnColumn
rowRow
Returns
Value from numeric table
int getIntValue ( long  column,
long  row 
)

Returns value by given column and row from the numeric table

Parameters
columnColumn
rowRow
Returns
Value from numeric table
long getNumberOfColumns ( )

Gets number of columns in the table

Returns
Number of columns in the table
long getNumberOfRows ( )

Gets number of rows in the table

Returns
Number of rows in the table
boolean isNormalized ( NormalizationType  flag)

Checks if dataset stored in the numeric table is normalized, according to the given normalization flag

Parameters
flagNormalization 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
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,
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,
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,
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
void setDictionary ( DataDictionary  ddict)

Sets a data dictionary in the Numeric Table

Parameters
ddictPointer to the data dictionary
NormalizationType setNormalizationFlag ( NormalizationType  flag)

Sets the normalization flag for dataset stored in the numeric table

Parameters
flagNormalization flag
Returns
Previous value of the normalization flag
void setNumberOfColumns ( long  nCol)

Sets number of columns in the table

Parameters
nColNumber of columns
void setNumberOfRows ( long  nRow)

Sets number of rows in the table

Parameters
nRowNumber of rows

Classes

class  AllocationFlag
 
class  MemoryStatus
 
class  NormalizationType
 
class  StorageLayout
 

The documentation for this class was generated from the following file:

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