类 DatabaseConnection
java.lang.Object
weka.experiment.DatabaseUtils
weka.core.converters.DatabaseConnection
- 所有已实现的接口:
Serializable
,RevisionHandler
Connects to a database.
- 版本:
- $Revision: 1.8 $
- 作者:
- Len Trigg (trigg@cs.waikato.ac.nz), Stefan Mutter (mutter@cs.waikato.ac.nz)
- 另请参阅:
-
字段概要
从类继承的字段 weka.experiment.DatabaseUtils
BOOL, BYTE, DATE, DOUBLE, EXP_INDEX_TABLE, EXP_RESULT_COL, EXP_RESULT_PREFIX, EXP_SETUP_COL, EXP_TYPE_COL, FLOAT, INTEGER, LONG, PROPERTY_FILE, SHORT, STRING, TEXT, TIME, TIMESTAMP
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明Gets meta data for the database connection object.Returns the revision string.int
Dewtermines if the current query retrieves a result set or updates a tableboolean
Check if the property checkUpperCaseNames in the DatabaseUtils file is set to true or false.从类继承的方法 weka.experiment.DatabaseUtils
arrayToString, close, close, connectToDatabase, createExperimentIndex, createExperimentIndexEntry, createResultsTable, databaseURLTipText, debugTipText, disconnectFromDatabase, execute, experimentIndexExists, getDatabaseURL, getDebug, getKeywords, getKeywordsMaskChar, getPassword, getResultFromTable, getResultSet, getResultsTableName, getSupportedCursorScrollType, getUsername, isConnected, isCursorScrollable, isCursorScrollSensitive, isKeyword, maskKeyword, passwordTipText, processKeyString, putResultInTable, select, setDatabaseURL, setDebug, setKeywords, setKeywordsMaskChar, setPassword, setUsername, tableExists, translateDBColumnType, typeName, update, usernameTipText
-
构造器详细资料
-
DatabaseConnection
Sets up the database drivers- 抛出:
Exception
- if an error occurs
-
-
方法详细资料
-
getUpperCase
public boolean getUpperCase()Check if the property checkUpperCaseNames in the DatabaseUtils file is set to true or false.- 返回:
- true if the property checkUpperCaseNames in the DatabaseUtils file is set to true, false otherwise.
-
getMetaData
Gets meta data for the database connection object.- 返回:
- the meta data.
- 抛出:
Exception
- if an error occurs
-
getUpdateCount
Dewtermines if the current query retrieves a result set or updates a table- 返回:
- the update count (-1 if the query retrieves a result set).
- 抛出:
SQLException
- if an error occurs
-
getRevision
Returns the revision string.- 指定者:
getRevision
在接口中RevisionHandler
- 覆盖:
getRevision
在类中DatabaseUtils
- 返回:
- the revision
-