Python* API Reference for Intel® Data Analytics Acceleration Library 2019 Update 5
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 = ... | |
| FeatureManager | Type of a data source, supports only SQLFeatureManager |
| SummaryStatisticsType | The floating point type to compute summary statics for numeric table |
ODBCDataSource_MySQLFeatureManagerFloat64 is an alias of ODBCDataSource(FeatureManager=daal.data_management.interface1.MySQLFeatureManager, StatsType=float64) | def __init__ | ( | self, | |
| args | |||
| ) |
Constructor for the ODBCDataSource class
| dbname | Data Source Name as configured in settings of the ODBC driver |
| tableName | Name 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 |
| initialMaxRows | Initial value of maximum number of rows in Numeric Table allocated in loadDataBlock() method |
Constructor for the ODBCDataSource class
| dbname | Data Source Name as configured in settings of the ODBC driver |
| tableName | Name 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 |
| initialMaxRows | Initial value of maximum number of rows in Numeric Table allocated in loadDataBlock() method |
Constructor for the ODBCDataSource class
| dbname | Data Source Name as configured in settings of the ODBC driver |
| tableName | Name 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 |
| initialMaxRows | Initial value of maximum number of rows in Numeric Table allocated in loadDataBlock() method |
Constructor for the ODBCDataSource class
| dbname | Data Source Name as configured in settings of the ODBC driver |
| tableName | Name 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 |
| initialMaxRows | Initial value of maximum number of rows in Numeric Table allocated in loadDataBlock() method |
Constructor for the ODBCDataSource class
| dbname | Data Source Name as configured in settings of the ODBC driver |
| tableName | Name 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 |
| initialMaxRows | Initial value of maximum number of rows in Numeric Table allocated in loadDataBlock() method |
Constructor for the ODBCDataSource class
| dbname | Data Source Name as configured in settings of the ODBC driver |
| tableName | Name 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 |
| initialMaxRows | Initial value of maximum number of rows in Numeric Table allocated in loadDataBlock() method |
Constructor for the ODBCDataSource class
| dbname | Data Source Name as configured in settings of the ODBC driver |
| tableName | Name 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 |
| initialMaxRows | Initial value of maximum number of rows in Numeric Table allocated in loadDataBlock() method |
Constructor for the ODBCDataSource class
| dbname | Data Source Name as configured in settings of the ODBC driver |
| tableName | Name of a table to export from a data source |
| userName | Username for the data source |
| password | Password for the Username in the data source |
| options | The options of ODBC Data Source |
| initialMaxRows | Initial value of maximum number of rows in Numeric Table allocated in loadDataBlock() method |
Constructor for the ODBCDataSource class
| dbname | Data Source Name as configured in settings of the ODBC driver |
| tableName | Name of a table to export from a data source |
| userName | Username for the data source |
| password | Password for the Username in the data source |
| options | The options of ODBC Data Source |
| initialMaxRows | Initial value of maximum number of rows in Numeric Table allocated in loadDataBlock() method |
Overload 10:*
Constructor for the ODBCDataSource class
| connectionString | The connection string to ODBC Driver |
| options | The options of ODBC Data Source |
| initialMaxRows | Initial value of maximum number of rows in Numeric Table allocated in loadDataBlock() method |
Overload 11:*
Constructor for the ODBCDataSource class
| connectionString | The connection string to ODBC Driver |
| options | The options of ODBC Data Source |
| initialMaxRows | Initial value of maximum number of rows in Numeric Table allocated in loadDataBlock() method |
| 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
For more complete information about compiler optimizations, see our Optimization Notice.