public class TSDBConnection extends AbstractConnection
catalog, clientInfoProps, idGenerator, isClosed, serverVersion, statementsMap, supportBlob, supportLineBindTRANSACTION_NONE, TRANSACTION_READ_COMMITTED, TRANSACTION_READ_UNCOMMITTED, TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE| Constructor and Description |
|---|
TSDBConnection(Properties info,
TSDBDatabaseMetaData meta) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Statement |
createStatement() |
TSDBJNIConnector |
getConnector() |
DatabaseMetaData |
getMetaData() |
boolean |
isClosed() |
PreparedStatement |
prepareStatement(String sql) |
void |
write(String[] lines,
SchemalessProtocolType protocolType,
SchemalessTimestampType timestampType,
Integer ttl,
Long reqId) |
int |
writeRaw(String line,
SchemalessProtocolType protocolType,
SchemalessTimestampType timestampType,
Integer ttl,
Long reqId) |
abort, canRebalanced, clearWarnings, commit, createArrayOf, createBlob, createClob, createNClob, createSQLXML, createStatement, createStatement, createStruct, getAutoCommit, getCatalog, getClientInfo, getClientInfo, getHoldability, getNetworkTimeout, getSchema, getTransactionIsolation, getTypeMap, getWarnings, isReadOnly, isSupportBlob, isValid, nativeSQL, prepareCall, prepareCall, prepareCall, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, registerStatement, releaseSavepoint, rollback, rollback, setAutoCommit, setCatalog, setClientInfo, setClientInfo, setHoldability, setNetworkTimeout, setReadOnly, setSavepoint, setSavepoint, setSchema, setTransactionIsolation, setTypeMap, unregisterStatement, write, write, write, writeRawisWrapperFor, unwrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisWrapperFor, unwrappublic TSDBConnection(Properties info, TSDBDatabaseMetaData meta) throws SQLException
SQLExceptionpublic TSDBJNIConnector getConnector()
public Statement createStatement() throws SQLException
SQLExceptionpublic PreparedStatement prepareStatement(String sql) throws SQLException
SQLExceptionpublic void close()
throws SQLException
SQLExceptionpublic boolean isClosed()
throws SQLException
SQLExceptionpublic DatabaseMetaData getMetaData() throws SQLException
SQLExceptionpublic void write(String[] lines, SchemalessProtocolType protocolType, SchemalessTimestampType timestampType, Integer ttl, Long reqId) throws SQLException
write in class AbstractConnectionSQLExceptionpublic int writeRaw(String line, SchemalessProtocolType protocolType, SchemalessTimestampType timestampType, Integer ttl, Long reqId) throws SQLException
writeRaw in class AbstractConnectionSQLExceptionCopyright © 2026. All rights reserved.