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

Public Member Functions | List of all members
MySQLFeatureManager Class Reference

Contains MySQL-specific commands. More...

Public Member Functions

def __init__
 
def statementResultsNumericTable
 
def createDictionary
 
def setLimitQuery
 
def getErrors
 

Detailed Description

Constructor & Destructor Documentation

def __init__ (   self)

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

Member Function Documentation

def createDictionary (   self,
  hdlStmt,
  dict 
)

Creates a data dictionary from an ODBC statement handle

Parameters
hdlStmtODBC statement handle that contains an SQL query
dictDictionary to be created
def getErrors (   self)

getErrors(MySQLFeatureManager self) -> daal.services.SharedPtr< daal.services.ErrorCollection >

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.