Python* API Reference for Intel® Data Analytics Acceleration Library 2020 Update 1

Public Member Functions | List of all members
SQLFeatureManager Class Reference

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

Public Member Functions

def __init__
 
def addModifier
 
def statementResultsNumericTable
 
def createDictionary
 
def setLimitQuery
 

Detailed Description

Constructor & Destructor Documentation

def __init__ (   self)

__init__(daal.data_management.SQLFeatureManager self) -> SQLFeatureManager

Member Function Documentation

def addModifier (   self,
  featureIds,
  modifier,
  status = None 
)

Adds extended feature modifier

Parameters
featureIdsThe identifiers of the features to be modified
modifierThe feature modifier
status(optional) The pointer to status object
Returns
Reference to itself
def createDictionary (   self,
  hdlStmt,
  dictionary 
)

Creates a data dictionary from an ODBC statement handle

Parameters
hdlStmtODBC statement handle that contains an SQL query
dictionaryDictionary to be created
def setLimitQuery (   self,
  query,
  idx_last_read,
  maxRows 
)

Limits the SELECT query.

Parameters
queryQuery to be limited
idx_last_readIndex of the first row to read
maxRowsMaximum number of rows to read
Returns
Full limited query with the ';' symbol at the end
def statementResultsNumericTable (   self,
  hdlStmt,
  nt,
  maxRows 
)

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

Parameters
hdlStmtODBC statement handle that contains an SQL query
ntNumeric Table to store query results
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.