public class TSDBConnection extends AbstractConnection
catalog, clientInfoProps, isClosed| 构造器和说明 |
|---|
TSDBConnection(Properties info,
TSDBDatabaseMetaData meta) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close() |
Statement |
createStatement() |
Statement |
createStatement(int resultSetType,
int resultSetConcurrency) |
Boolean |
getBatchFetch() |
TSDBJNIConnector |
getConnection() |
DatabaseMetaData |
getMetaData() |
boolean |
isClosed() |
PreparedStatement |
prepareStatement(String sql) |
void |
setBatchFetch(Boolean batchFetch) |
TSDBSubscribe |
subscribe(String topic,
String sql,
boolean restart) |
abort, clearWarnings, commit, createArrayOf, createBlob, createClob, createNClob, createSQLXML, createStatement, createStruct, getAutoCommit, getCatalog, getClientInfo, getClientInfo, getHoldability, getNetworkTimeout, getSchema, getTransactionIsolation, getTypeMap, getWarnings, isReadOnly, isValid, nativeSQL, prepareCall, prepareCall, prepareCall, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, releaseSavepoint, rollback, rollback, setAutoCommit, setCatalog, setClientInfo, setClientInfo, setHoldability, setNetworkTimeout, setReadOnly, setSavepoint, setSavepoint, setSchema, setTransactionIsolation, setTypeMapisWrapperFor, unwrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisWrapperFor, unwrappublic TSDBConnection(Properties info, TSDBDatabaseMetaData meta) throws SQLException
SQLExceptionpublic Boolean getBatchFetch()
public void setBatchFetch(Boolean batchFetch)
public TSDBJNIConnector getConnection()
public Statement createStatement() throws SQLException
createStatement 在接口中 ConnectioncreateStatement 在类中 AbstractConnectionSQLExceptionpublic TSDBSubscribe subscribe(String topic, String sql, boolean restart) throws SQLException
SQLExceptionpublic PreparedStatement prepareStatement(String sql) throws SQLException
prepareStatement 在接口中 ConnectionprepareStatement 在类中 AbstractConnectionSQLExceptionpublic void close()
throws SQLException
close 在接口中 AutoCloseableclose 在接口中 Connectionclose 在类中 AbstractConnectionSQLExceptionpublic boolean isClosed()
throws SQLException
isClosed 在接口中 ConnectionisClosed 在类中 AbstractConnectionSQLExceptionpublic DatabaseMetaData getMetaData() throws SQLException
getMetaData 在接口中 ConnectiongetMetaData 在类中 AbstractConnectionSQLExceptionpublic Statement createStatement(int resultSetType, int resultSetConcurrency) throws SQLException
createStatement 在接口中 ConnectioncreateStatement 在类中 AbstractConnectionSQLExceptionCopyright © 2021. All rights reserved.