public class TSDBConnection extends AbstractConnection
catalog, clientInfoProps, isClosed| 构造器和说明 |
|---|
TSDBConnection(Properties info,
TSDBDatabaseMetaData meta) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close() |
Statement |
createStatement() |
Boolean |
getBatchFetch() |
TSDBJNIConnector |
getConnector() |
DatabaseMetaData |
getMetaData() |
boolean |
isClosed() |
PreparedStatement |
prepareStatement(String sql) |
TSDBSubscribe |
subscribe(String topic,
String sql,
boolean restart) |
abort, clearWarnings, commit, createArrayOf, createBlob, createClob, createNClob, createSQLXML, createStatement, 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 TSDBJNIConnector getConnector()
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 在类中 AbstractConnectionSQLExceptionCopyright © 2021. All rights reserved.