public class WSConnection extends AbstractConnection
| Modifier and Type | Field and Description |
|---|---|
static AtomicBoolean |
g_FirstConnection |
catalog, clientInfoProps, idGenerator, isClosed, serverVersion, statementsMap, supportBlob, supportLineBindTRANSACTION_NONE, TRANSACTION_READ_COMMITTED, TRANSACTION_READ_UNCOMMITTED, TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE| Constructor and Description |
|---|
WSConnection(String url,
Properties properties,
Transport transport,
ConnectionParam param,
String serverVersion) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Statement |
createStatement() |
DatabaseMetaData |
getMetaData() |
ConnectionParam |
getParam() |
boolean |
isClosed() |
boolean |
isValid(int timeout) |
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, clearWarnings, commit, createArrayOf, createBlob, createClob, createNClob, createSQLXML, createStatement, createStatement, createStruct, getAutoCommit, getCatalog, getClientInfo, getClientInfo, getHoldability, getNetworkTimeout, getSchema, getTransactionIsolation, getTypeMap, getWarnings, isReadOnly, isSupportBlob, 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 static final AtomicBoolean g_FirstConnection
public WSConnection(String url, Properties properties, Transport transport, ConnectionParam param, String serverVersion)
public Statement createStatement() throws SQLException
createStatement in interface ConnectioncreateStatement in class AbstractConnectionSQLExceptionpublic PreparedStatement prepareStatement(String sql) throws SQLException
prepareStatement in interface ConnectionprepareStatement in class AbstractConnectionSQLExceptionpublic void close()
throws SQLException
close in interface AutoCloseableclose in interface Connectionclose in class AbstractConnectionSQLExceptionpublic boolean isClosed()
throws SQLException
isClosed in interface ConnectionisClosed in class AbstractConnectionSQLExceptionpublic DatabaseMetaData getMetaData() throws SQLException
getMetaData in interface ConnectiongetMetaData in class AbstractConnectionSQLExceptionpublic ConnectionParam getParam()
public 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 AbstractConnectionSQLExceptionpublic boolean isValid(int timeout)
throws SQLException
isValid in interface ConnectionisValid in class AbstractConnectionSQLExceptionCopyright © 2025. All rights reserved.