public class TsfileConnection extends Object implements Connection
| 限定符和类型 | 字段和说明 |
|---|---|
cn.edu.tsinghua.iotdb.jdbc.thrift.TSIService.Iface |
client |
cn.edu.tsinghua.iotdb.jdbc.thrift.TS_SessionHandle |
sessionHandle |
| 构造器和说明 |
|---|
TsfileConnection(String url,
Properties info) |
public cn.edu.tsinghua.iotdb.jdbc.thrift.TSIService.Iface client
public cn.edu.tsinghua.iotdb.jdbc.thrift.TS_SessionHandle sessionHandle
public TsfileConnection(String url, Properties info) throws SQLException, org.apache.thrift.transport.TTransportException
SQLExceptionorg.apache.thrift.transport.TTransportExceptionpublic boolean isWrapperFor(Class<?> arg0) throws SQLException
isWrapperFor 在接口中 WrapperSQLExceptionpublic <T> T unwrap(Class<T> arg0) throws SQLException
unwrap 在接口中 WrapperSQLExceptionpublic void abort(Executor arg0) throws SQLException
abort 在接口中 ConnectionSQLExceptionpublic void clearWarnings()
throws SQLException
clearWarnings 在接口中 ConnectionSQLExceptionpublic void close()
throws SQLException
close 在接口中 AutoCloseableclose 在接口中 ConnectionSQLExceptionpublic void commit()
throws SQLException
commit 在接口中 ConnectionSQLExceptionpublic Array createArrayOf(String arg0, Object[] arg1) throws SQLException
createArrayOf 在接口中 ConnectionSQLExceptionpublic Blob createBlob() throws SQLException
createBlob 在接口中 ConnectionSQLExceptionpublic Clob createClob() throws SQLException
createClob 在接口中 ConnectionSQLExceptionpublic NClob createNClob() throws SQLException
createNClob 在接口中 ConnectionSQLExceptionpublic SQLXML createSQLXML() throws SQLException
createSQLXML 在接口中 ConnectionSQLExceptionpublic Statement createStatement() throws SQLException
createStatement 在接口中 ConnectionSQLExceptionpublic Statement createStatement(int resultSetType, int resultSetConcurrency) throws SQLException
createStatement 在接口中 ConnectionSQLExceptionpublic Statement createStatement(int arg0, int arg1, int arg2) throws SQLException
createStatement 在接口中 ConnectionSQLExceptionpublic Struct createStruct(String arg0, Object[] arg1) throws SQLException
createStruct 在接口中 ConnectionSQLExceptionpublic boolean getAutoCommit()
throws SQLException
getAutoCommit 在接口中 ConnectionSQLExceptionpublic String getCatalog() throws SQLException
getCatalog 在接口中 ConnectionSQLExceptionpublic Properties getClientInfo() throws SQLException
getClientInfo 在接口中 ConnectionSQLExceptionpublic String getClientInfo(String arg0) throws SQLException
getClientInfo 在接口中 ConnectionSQLExceptionpublic int getHoldability()
throws SQLException
getHoldability 在接口中 ConnectionSQLExceptionpublic DatabaseMetaData getMetaData() throws SQLException
getMetaData 在接口中 ConnectionSQLExceptionpublic int getNetworkTimeout()
throws SQLException
getNetworkTimeout 在接口中 ConnectionSQLExceptionpublic String getSchema() throws SQLException
getSchema 在接口中 ConnectionSQLExceptionpublic int getTransactionIsolation()
throws SQLException
getTransactionIsolation 在接口中 ConnectionSQLExceptionpublic Map<String,Class<?>> getTypeMap() throws SQLException
getTypeMap 在接口中 ConnectionSQLExceptionpublic SQLWarning getWarnings() throws SQLException
getWarnings 在接口中 ConnectionSQLExceptionpublic boolean isClosed()
throws SQLException
isClosed 在接口中 ConnectionSQLExceptionpublic boolean isReadOnly()
throws SQLException
isReadOnly 在接口中 ConnectionSQLExceptionpublic boolean isValid(int arg0)
throws SQLException
isValid 在接口中 ConnectionSQLExceptionpublic String nativeSQL(String arg0) throws SQLException
nativeSQL 在接口中 ConnectionSQLExceptionpublic CallableStatement prepareCall(String arg0) throws SQLException
prepareCall 在接口中 ConnectionSQLExceptionpublic CallableStatement prepareCall(String arg0, int arg1, int arg2) throws SQLException
prepareCall 在接口中 ConnectionSQLExceptionpublic CallableStatement prepareCall(String arg0, int arg1, int arg2, int arg3) throws SQLException
prepareCall 在接口中 ConnectionSQLExceptionpublic PreparedStatement prepareStatement(String sql) throws SQLException
prepareStatement 在接口中 ConnectionSQLExceptionpublic PreparedStatement prepareStatement(String sql, int autoGeneratedKeys) throws SQLException
prepareStatement 在接口中 ConnectionSQLExceptionpublic PreparedStatement prepareStatement(String sql, int[] columnIndexes) throws SQLException
prepareStatement 在接口中 ConnectionSQLExceptionpublic PreparedStatement prepareStatement(String sql, String[] columnNames) throws SQLException
prepareStatement 在接口中 ConnectionSQLExceptionpublic PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency) throws SQLException
prepareStatement 在接口中 ConnectionSQLExceptionpublic PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException
prepareStatement 在接口中 ConnectionSQLExceptionpublic void releaseSavepoint(Savepoint arg0) throws SQLException
releaseSavepoint 在接口中 ConnectionSQLExceptionpublic void rollback()
throws SQLException
rollback 在接口中 ConnectionSQLExceptionpublic void rollback(Savepoint arg0) throws SQLException
rollback 在接口中 ConnectionSQLExceptionpublic void setAutoCommit(boolean arg0)
throws SQLException
setAutoCommit 在接口中 ConnectionSQLExceptionpublic void setCatalog(String arg0) throws SQLException
setCatalog 在接口中 ConnectionSQLExceptionpublic void setClientInfo(Properties arg0) throws SQLClientInfoException
setClientInfo 在接口中 ConnectionSQLClientInfoExceptionpublic void setClientInfo(String arg0, String arg1) throws SQLClientInfoException
setClientInfo 在接口中 ConnectionSQLClientInfoExceptionpublic void setHoldability(int arg0)
throws SQLException
setHoldability 在接口中 ConnectionSQLExceptionpublic void setNetworkTimeout(Executor arg0, int arg1) throws SQLException
setNetworkTimeout 在接口中 ConnectionSQLExceptionpublic void setReadOnly(boolean arg0)
throws SQLException
setReadOnly 在接口中 ConnectionSQLExceptionpublic Savepoint setSavepoint() throws SQLException
setSavepoint 在接口中 ConnectionSQLExceptionpublic Savepoint setSavepoint(String arg0) throws SQLException
setSavepoint 在接口中 ConnectionSQLExceptionpublic void setSchema(String arg0) throws SQLException
setSchema 在接口中 ConnectionSQLExceptionpublic void setTransactionIsolation(int arg0)
throws SQLException
setTransactionIsolation 在接口中 ConnectionSQLExceptionpublic void setTypeMap(Map<String,Class<?>> arg0) throws SQLException
setTypeMap 在接口中 ConnectionSQLExceptionpublic boolean reconnect()
public void setTimeZone(String tz) throws org.apache.thrift.TException, TsfileSQLException
org.apache.thrift.TExceptionTsfileSQLExceptionpublic String getTimeZone() throws org.apache.thrift.TException, TsfileSQLException
org.apache.thrift.TExceptionTsfileSQLExceptionpublic static cn.edu.tsinghua.iotdb.jdbc.thrift.TSIService.Iface newSynchronizedClient(cn.edu.tsinghua.iotdb.jdbc.thrift.TSIService.Iface client)
public cn.edu.tsinghua.iotdb.jdbc.thrift.TSProtocolVersion getProtocol()
public void setProtocol(cn.edu.tsinghua.iotdb.jdbc.thrift.TSProtocolVersion protocol)
Copyright © 2017. All rights reserved.