C++ API Reference for Intel® Data Analytics Acceleration Library 2019

List of all members
SQLFeatureManager Class Reference

Interprets the response of SQL data base and fill provided numeric table and dictionary. More...

Class Declaration

Member Function Documentation

SQLFeatureManager& addModifier ( const features::FeatureIdCollectionIfacePtr &  featureIds,
const modifiers::sql::FeatureModifierIfacePtr &  modifier,
services::Status *  status = NULL 
)
inline

Adds extended feature modifier

Parameters
[in]featureIdsThe identifiers of the features to be modified
[in]modifierThe feature modifier
[out]status(optional) The pointer to status object
Returns
Reference to itself
services::Status createDictionary ( SQLHSTMT  hdlStmt,
DataSourceDictionary dictionary 
)
inline

Creates a data dictionary from an ODBC statement handle

Parameters
[in]hdlStmtODBC statement handle that contains an SQL query
[out]dictionaryDictionary to be created
std::string setLimitQuery ( std::string &  query,
size_t  idx_last_read,
size_t  maxRows 
)
inline

Limits the SELECT query.

Parameters
[in]queryQuery to be limited
[in]idx_last_readIndex of the first row to read
[in]maxRowsMaximum number of rows to read
Returns
Full limited query with the ';' symbol at the end
DataSourceIface::DataSourceStatus statementResultsNumericTable ( SQLHSTMT  hdlStmt,
NumericTable nt,
size_t  maxRows 
)
inline

Executes an SQL statement from an ODBC statement handle and writes it to a Numeric Table

Parameters
[in]hdlStmtODBC statement handle that contains an SQL query
[out]ntNumeric Table to store query results
[in]maxRowsMaximum number of rows that can be read

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

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