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

Public Member Functions | List of all members
ODBCDataSource Class Reference

Connects to data sources with the ODBC API. More...

Public Member Functions

def checkDictionary
 
def checkNumericTable
 
def freeNumericTable
 
def __init__
 
def freeHandles
 
def loadDataBlock
 
def createDictionaryFromContext
 
def getStatus
 
def getNumberOfAvailableRows
 
def getFeatureManager
 
- Public Member Functions inherited from DataSource
def getDictionary
 
def setDictionary
 
def createDictionaryFromContext
 
def loadDataBlock
 
def getNumericTable
 
def getNumberOfColumns
 
def status
 
def getErrors
 
def getNumericTableNumberOfColumns
 
- Public Member Functions inherited from DataSourceIface
def getDictionary
 
def setDictionary
 
def createDictionaryFromContext
 
def getStatus
 
def getNumberOfColumns
 
def getNumericTableNumberOfColumns
 
def getNumberOfAvailableRows
 
def allocateNumericTable
 
def getNumericTable
 
def freeNumericTable
 
def loadDataBlock
 

Additional Inherited Members

- Static Public Attributes inherited from DataSourceIface
 readyForLoad = ...
 
 waitingForRows = ...
 
 endOfData = ...
 
 notReady = ...
 
 notDictionaryFromContext = ...
 
 doDictionaryFromContext = ...
 
 notAllocateNumericTable = ...
 
 doAllocateNumericTable = ...
 

Detailed Description

Parameters
_featureManagerType of a data source, supports only MySQLFeatureManager
Aliases
  • ODBCDataSource_MySQLFeatureManagerFloat64 is an alias of ODBCDataSource(FeatureManager=daal.data_management.interface1.MySQLFeatureManager, StatsType=float64)

Constructor & Destructor Documentation

def __init__ (   self,
  args 
)

Variant 1

Constructor for the ODBCDataSource class

Parameters
dbnameData Source Name as configured in settings of the ODBC driver
tablenameName of a table to export from a data source
username(optional) Username for the data source
password(optional) Password for the Username in the data source
doAllocateNumericTable(optional) Flag that specifies whether a Numeric Table associated with an ODBC Data Source is allocated inside the Data Source
doCreateDictionaryFromContext(optional) Flag that specifies whether a Data Dictionary is created from the context of the ODBC Data Source
initialMaxRowsInitial value of maximum number of rows in Numeric Table allocated in loadDataBlock() method

Variant 2

Constructor for the ODBCDataSource class

Parameters
dbnameData Source Name as configured in settings of the ODBC driver
tablenameName of a table to export from a data source
username(optional) Username for the data source
password(optional) Password for the Username in the data source
doAllocateNumericTable(optional) Flag that specifies whether a Numeric Table associated with an ODBC Data Source is allocated inside the Data Source
doCreateDictionaryFromContext(optional) Flag that specifies whether a Data Dictionary is created from the context of the ODBC Data Source
initialMaxRowsInitial value of maximum number of rows in Numeric Table allocated in loadDataBlock() method

Variant 3

Constructor for the ODBCDataSource class

Parameters
dbnameData Source Name as configured in settings of the ODBC driver
tablenameName of a table to export from a data source
username(optional) Username for the data source
password(optional) Password for the Username in the data source
doAllocateNumericTable(optional) Flag that specifies whether a Numeric Table associated with an ODBC Data Source is allocated inside the Data Source
doCreateDictionaryFromContext(optional) Flag that specifies whether a Data Dictionary is created from the context of the ODBC Data Source
initialMaxRowsInitial value of maximum number of rows in Numeric Table allocated in loadDataBlock() method

Variant 4

Constructor for the ODBCDataSource class

Parameters
dbnameData Source Name as configured in settings of the ODBC driver
tablenameName of a table to export from a data source
username(optional) Username for the data source
password(optional) Password for the Username in the data source
doAllocateNumericTable(optional) Flag that specifies whether a Numeric Table associated with an ODBC Data Source is allocated inside the Data Source
doCreateDictionaryFromContext(optional) Flag that specifies whether a Data Dictionary is created from the context of the ODBC Data Source
initialMaxRowsInitial value of maximum number of rows in Numeric Table allocated in loadDataBlock() method

Variant 5

Constructor for the ODBCDataSource class

Parameters
dbnameData Source Name as configured in settings of the ODBC driver
tablenameName of a table to export from a data source
username(optional) Username for the data source
password(optional) Password for the Username in the data source
doAllocateNumericTable(optional) Flag that specifies whether a Numeric Table associated with an ODBC Data Source is allocated inside the Data Source
doCreateDictionaryFromContext(optional) Flag that specifies whether a Data Dictionary is created from the context of the ODBC Data Source
initialMaxRowsInitial value of maximum number of rows in Numeric Table allocated in loadDataBlock() method

Variant 6

Constructor for the ODBCDataSource class

Parameters
dbnameData Source Name as configured in settings of the ODBC driver
tablenameName of a table to export from a data source
username(optional) Username for the data source
password(optional) Password for the Username in the data source
doAllocateNumericTable(optional) Flag that specifies whether a Numeric Table associated with an ODBC Data Source is allocated inside the Data Source
doCreateDictionaryFromContext(optional) Flag that specifies whether a Data Dictionary is created from the context of the ODBC Data Source
initialMaxRowsInitial value of maximum number of rows in Numeric Table allocated in loadDataBlock() method

Member Function Documentation

def checkDictionary (   self)

Checks a Data Dictionary

def checkNumericTable (   self)

Checks a Numeric Table

def createDictionaryFromContext (   self)

createDictionaryFromContext(ODBCDataSource self) -> Status

def freeHandles (   self)

Frees ODBC connection handles

def freeNumericTable (   self)

Returns a pointer to a Numeric Table associated with a Data Source

def getFeatureManager (   self)

getFeatureManager(ODBCDataSource self) -> MySQLFeatureManager

def getNumberOfAvailableRows (   self)

getNumberOfAvailableRows(ODBCDataSource self) -> size_t

def getStatus (   self)

getStatus(ODBCDataSource self) -> daal.data_management.DataSourceIface.DataSourceStatus

def loadDataBlock (   self,
  args 
)

loadDataBlock(ODBCDataSource self, size_t maxRows) -> size_t


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

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