Connects to data sources with the ODBC API.
More...
- Parameters
-
- Aliases
ODBCDataSource_MySQLFeatureManagerFloat64
is an alias of ODBCDataSource(FeatureManager=daal.data_management.interface1.MySQLFeatureManager, StatsType=float64)
def __init__ |
( |
|
self, |
|
|
|
args |
|
) |
| |
- Variant 1
Constructor for the ODBCDataSource class
- Parameters
-
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 |
- Variant 2
Constructor for the ODBCDataSource class
- Parameters
-
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 |
- Variant 3
Constructor for the ODBCDataSource class
- Parameters
-
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 |
- Variant 4
Constructor for the ODBCDataSource class
- Parameters
-
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 |
- Variant 5
Constructor for the ODBCDataSource class
- Parameters
-
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 |
- Variant 6
Constructor for the ODBCDataSource class
- Parameters
-
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 |
def checkDictionary |
( |
|
self | ) |
|
def checkNumericTable |
( |
|
self | ) |
|
def createDictionaryFromContext |
( |
|
self | ) |
|
createDictionaryFromContext(ODBCDataSource self) -> Status
Frees ODBC connection handles
def freeNumericTable |
( |
|
self | ) |
|
Returns a pointer to a Numeric Table associated with a Data Source
def getFeatureManager |
( |
|
self | ) |
|
def getNumberOfAvailableRows |
( |
|
self | ) |
|
getNumberOfAvailableRows(ODBCDataSource self) -> size_t
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: