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

Classes | List of all members
DataSource Class Referenceabstract

Abstract class that defines the interface for the data management component responsible for the representation of the data in a raw format. This class declares the most generic methods for data access. More...

Detailed Description

Member Function Documentation

void allocateNumericTable ( )

Allocates the Numeric Table associated with the Data Source

void createDictionaryFromContext ( )

Creates the Data Dictionary by extracting information from a Data Source

void dispose ( )

Releases memory allocated for the native object

Implements Disposable.

void freeNumericTable ( )

Deallocates a Numeric Table associated with the Data Source

long getNumberOfAvailableRows ( )

Returns the number of rows available in the Data Source

Returns
Number of rows
long getNumberOfColumns ( )

Returns the number of columns in the Data Source

Returns
Number of columns
NumericTable getNumericTable ( )

Returns the Numeric Table associated with the Data Source

Returns
Numeric Table associated with the Data Source
long loadDataBlock ( long  maxRows)

Loads a data block of the specified size into internally allocated Numeric Table

Parameters
maxRowsMaximum number of rows to load from the Data Source into the Numeric Table
Returns
Number of rows loaded from a Data Source into the Numeric Table
long loadDataBlock ( long  maxRows,
long  offset,
long  fullRows 
)

Loads a data block of the specified size into internally allocated Numeric Table

Parameters
maxRowsMaximum number of rows to load from a Data Source into the Numeric Table
offsetWrite data starting from offset row
fullRowsMaximum number of rows to allocate in the Numeric Table
Returns
Number of rows loaded from a Data Source into the Numeric Table
long loadDataBlock ( long  maxRows,
NumericTable  nt 
)

Loads a data block of the specified size into provided Numeric Table

Parameters
maxRowsMaximum number of rows to load from the Data Source into the Numeric Table
ntPointer to the Numeric Table
Returns
Number of rows loaded from a Data Source into the Numeric Table
long loadDataBlock ( NumericTable  nt)

Loads a data block into provided Numeric Table

Parameters
ntPointer to the Numeric Table
Returns
Number of rows loaded from a Data Source into the Numeric Table
long loadDataBlock ( )

Loads a data block into internally allocated Numeric Table

Returns
Number of rows loaded from a Data Source into the Numeric Table

Classes

class  DataSourceStatus
 
class  DictionaryCreationFlag
 
class  NumericTableAllocationFlag
 

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

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