类 WSConnection
- java.lang.Object
-
- com.taosdata.jdbc.WrapperImpl
-
- com.taosdata.jdbc.AbstractConnection
-
- com.taosdata.jdbc.ws.WSConnection
-
- 所有已实现的接口:
AutoCloseable,Connection,Wrapper
public class WSConnection extends AbstractConnection
-
-
字段概要
-
从类继承的字段 com.taosdata.jdbc.AbstractConnection
catalog, clientInfoProps, isClosed
-
-
构造器概要
构造器 构造器 说明 WSConnection(String url, Properties properties, Transport transport, String database)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidclose()StatementcreateStatement()DatabaseMetaDatagetMetaData()booleanisClosed()PreparedStatementprepareStatement(String sql)-
从类继承的方法 com.taosdata.jdbc.AbstractConnection
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, setTypeMap
-
从类继承的方法 com.taosdata.jdbc.WrapperImpl
isWrapperFor, unwrap
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 java.sql.Connection
beginRequest, endRequest, setShardingKey, setShardingKey, setShardingKeyIfValid, setShardingKeyIfValid
-
从接口继承的方法 java.sql.Wrapper
isWrapperFor, unwrap
-
-
-
-
构造器详细资料
-
WSConnection
public WSConnection(String url, Properties properties, Transport transport, String database)
-
-
方法详细资料
-
createStatement
public Statement createStatement() throws SQLException
- 指定者:
createStatement在接口中Connection- 指定者:
createStatement在类中AbstractConnection- 抛出:
SQLException
-
prepareStatement
public PreparedStatement prepareStatement(String sql) throws SQLException
- 指定者:
prepareStatement在接口中Connection- 指定者:
prepareStatement在类中AbstractConnection- 抛出:
SQLException
-
close
public void close() throws SQLException- 指定者:
close在接口中AutoCloseable- 指定者:
close在接口中Connection- 指定者:
close在类中AbstractConnection- 抛出:
SQLException
-
isClosed
public boolean isClosed() throws SQLException- 指定者:
isClosed在接口中Connection- 指定者:
isClosed在类中AbstractConnection- 抛出:
SQLException
-
getMetaData
public DatabaseMetaData getMetaData() throws SQLException
- 指定者:
getMetaData在接口中Connection- 指定者:
getMetaData在类中AbstractConnection- 抛出:
SQLException
-
-