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

Public Member Functions | List of all members
ODBCDataSource Class Reference

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

Public Member Functions

def __init__
 
def executeQuery
 
def freeHandles
 
def loadDataBlock
 
def createDictionaryFromContext
 
def getStatus
 
def getNumberOfAvailableRows
 
def getFeatureManager
 
- Public Member Functions inherited from DataSourceTemplate
def freeNumericTable
 
def allocateNumericTable
 
- Public Member Functions inherited from DataSource
def getDictionary
 
def setDictionary
 
def createDictionaryFromContext
 
def loadDataBlock
 
def getNumericTable
 
def getNumberOfColumns
 
def status
 
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 SQLFeatureManager
SummaryStatisticsTypeThe floating point type to compute summary statics for numeric table
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

Variant 7

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 8

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
userNameUsername for the data source
passwordPassword for the Username in the data source
optionsThe options of ODBC Data Source
initialMaxRowsInitial value of maximum number of rows in Numeric Table allocated in loadDataBlock() method

Variant 9

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
userNameUsername for the data source
passwordPassword for the Username in the data source
optionsThe options of ODBC Data Source
initialMaxRowsInitial value of maximum number of rows in Numeric Table allocated in loadDataBlock() method

Overload 10:*

Constructor for the ODBCDataSource class

Parameters
connectionStringThe connection string to ODBC Driver
optionsThe options of ODBC Data Source
initialMaxRowsInitial value of maximum number of rows in Numeric Table allocated in loadDataBlock() method

Overload 11:*

Constructor for the ODBCDataSource class

Parameters
connectionStringThe connection string to ODBC Driver
optionsThe options of ODBC Data Source
initialMaxRowsInitial value of maximum number of rows in Numeric Table allocated in loadDataBlock() method

Member Function Documentation

def createDictionaryFromContext (   self)

createDictionaryFromContext(ODBCDataSource self) -> Status

def executeQuery (   self,
  query 
)

executeQuery(ODBCDataSource self, std.string const & query) -> Status

def freeHandles (   self)

Frees ODBC connection handles

def getFeatureManager (   self)

getFeatureManager(ODBCDataSource self) -> SQLFeatureManager

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.