类 IoTDBStatement
- java.lang.Object
-
- org.apache.iotdb.jdbc.IoTDBStatement
-
- 所有已实现的接口:
java.lang.AutoCloseable,java.sql.Statement,java.sql.Wrapper
- 直接已知子类:
IoTDBPreparedStatement
public class IoTDBStatement extends java.lang.Object implements java.sql.Statement
-
-
字段概要
字段 修饰符和类型 字段 说明 protected org.apache.iotdb.service.rpc.thrift.TSIService.Ifaceclient
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidaddBatch(java.lang.String sql)voidcancel()voidclearBatch()voidclearWarnings()voidclose()voidcloseOnCompletion()booleanexecute(java.lang.String sql)booleanexecute(java.lang.String arg0, int arg1)booleanexecute(java.lang.String arg0, int[] arg1)booleanexecute(java.lang.String arg0, java.lang.String[] arg1)int[]executeBatch()java.sql.ResultSetexecuteQuery(java.lang.String sql)intexecuteUpdate(java.lang.String sql)intexecuteUpdate(java.lang.String arg0, int arg1)intexecuteUpdate(java.lang.String arg0, int[] arg1)intexecuteUpdate(java.lang.String arg0, java.lang.String[] arg1)java.sql.ConnectiongetConnection()intgetFetchDirection()intgetFetchSize()java.sql.ResultSetgetGeneratedKeys()intgetMaxFieldSize()intgetMaxRows()booleangetMoreResults()booleangetMoreResults(int arg0)intgetQueryTimeout()java.sql.ResultSetgetResultSet()intgetResultSetConcurrency()intgetResultSetHoldability()intgetResultSetType()longgetSessionId()intgetUpdateCount()java.sql.SQLWarninggetWarnings()booleanisClosed()booleanisCloseOnCompletion()booleanisPoolable()booleanisWrapperFor(java.lang.Class<?> iface)voidsetCursorName(java.lang.String arg0)voidsetEscapeProcessing(boolean enable)voidsetFetchDirection(int direction)voidsetFetchSize(int fetchSize)voidsetMaxFieldSize(int arg0)voidsetMaxRows(int num)voidsetPoolable(boolean arg0)voidsetQueryTimeout(int seconds)<T> Tunwrap(java.lang.Class<T> iface)
-
-
-
方法详细资料
-
isWrapperFor
public boolean isWrapperFor(java.lang.Class<?> iface)
- 指定者:
isWrapperFor在接口中java.sql.Wrapper
-
unwrap
public <T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException- 指定者:
unwrap在接口中java.sql.Wrapper- 抛出:
java.sql.SQLException
-
addBatch
public void addBatch(java.lang.String sql)
- 指定者:
addBatch在接口中java.sql.Statement
-
cancel
public void cancel() throws java.sql.SQLException- 指定者:
cancel在接口中java.sql.Statement- 抛出:
java.sql.SQLException
-
clearBatch
public void clearBatch()
- 指定者:
clearBatch在接口中java.sql.Statement
-
clearWarnings
public void clearWarnings()
- 指定者:
clearWarnings在接口中java.sql.Statement
-
close
public void close() throws java.sql.SQLException- 指定者:
close在接口中java.lang.AutoCloseable- 指定者:
close在接口中java.sql.Statement- 抛出:
java.sql.SQLException
-
closeOnCompletion
public void closeOnCompletion() throws java.sql.SQLException- 指定者:
closeOnCompletion在接口中java.sql.Statement- 抛出:
java.sql.SQLException
-
execute
public boolean execute(java.lang.String sql) throws java.sql.SQLException- 指定者:
execute在接口中java.sql.Statement- 抛出:
java.sql.SQLException
-
execute
public boolean execute(java.lang.String arg0, int arg1) throws java.sql.SQLException- 指定者:
execute在接口中java.sql.Statement- 抛出:
java.sql.SQLException
-
execute
public boolean execute(java.lang.String arg0, int[] arg1) throws java.sql.SQLException- 指定者:
execute在接口中java.sql.Statement- 抛出:
java.sql.SQLException
-
execute
public boolean execute(java.lang.String arg0, java.lang.String[] arg1) throws java.sql.SQLException- 指定者:
execute在接口中java.sql.Statement- 抛出:
java.sql.SQLException
-
executeBatch
public int[] executeBatch() throws java.sql.SQLException- 指定者:
executeBatch在接口中java.sql.Statement- 抛出:
java.sql.SQLException
-
executeQuery
public java.sql.ResultSet executeQuery(java.lang.String sql) throws java.sql.SQLException- 指定者:
executeQuery在接口中java.sql.Statement- 抛出:
java.sql.SQLException
-
executeUpdate
public int executeUpdate(java.lang.String sql) throws java.sql.SQLException- 指定者:
executeUpdate在接口中java.sql.Statement- 抛出:
java.sql.SQLException
-
executeUpdate
public int executeUpdate(java.lang.String arg0, int arg1) throws java.sql.SQLException- 指定者:
executeUpdate在接口中java.sql.Statement- 抛出:
java.sql.SQLException
-
executeUpdate
public int executeUpdate(java.lang.String arg0, int[] arg1) throws java.sql.SQLException- 指定者:
executeUpdate在接口中java.sql.Statement- 抛出:
java.sql.SQLException
-
executeUpdate
public int executeUpdate(java.lang.String arg0, java.lang.String[] arg1) throws java.sql.SQLException- 指定者:
executeUpdate在接口中java.sql.Statement- 抛出:
java.sql.SQLException
-
getConnection
public java.sql.Connection getConnection()
- 指定者:
getConnection在接口中java.sql.Statement
-
getFetchDirection
public int getFetchDirection() throws java.sql.SQLException- 指定者:
getFetchDirection在接口中java.sql.Statement- 抛出:
java.sql.SQLException
-
setFetchDirection
public void setFetchDirection(int direction) throws java.sql.SQLException- 指定者:
setFetchDirection在接口中java.sql.Statement- 抛出:
java.sql.SQLException
-
getFetchSize
public int getFetchSize() throws java.sql.SQLException- 指定者:
getFetchSize在接口中java.sql.Statement- 抛出:
java.sql.SQLException
-
setFetchSize
public void setFetchSize(int fetchSize) throws java.sql.SQLException- 指定者:
setFetchSize在接口中java.sql.Statement- 抛出:
java.sql.SQLException
-
getGeneratedKeys
public java.sql.ResultSet getGeneratedKeys() throws java.sql.SQLException- 指定者:
getGeneratedKeys在接口中java.sql.Statement- 抛出:
java.sql.SQLException
-
getMaxFieldSize
public int getMaxFieldSize() throws java.sql.SQLException- 指定者:
getMaxFieldSize在接口中java.sql.Statement- 抛出:
java.sql.SQLException
-
setMaxFieldSize
public void setMaxFieldSize(int arg0) throws java.sql.SQLException- 指定者:
setMaxFieldSize在接口中java.sql.Statement- 抛出:
java.sql.SQLException
-
getMaxRows
public int getMaxRows() throws java.sql.SQLException- 指定者:
getMaxRows在接口中java.sql.Statement- 抛出:
java.sql.SQLException
-
setMaxRows
public void setMaxRows(int num) throws java.sql.SQLException- 指定者:
setMaxRows在接口中java.sql.Statement- 抛出:
java.sql.SQLException
-
getMoreResults
public boolean getMoreResults() throws java.sql.SQLException- 指定者:
getMoreResults在接口中java.sql.Statement- 抛出:
java.sql.SQLException
-
getMoreResults
public boolean getMoreResults(int arg0) throws java.sql.SQLException- 指定者:
getMoreResults在接口中java.sql.Statement- 抛出:
java.sql.SQLException
-
getQueryTimeout
public int getQueryTimeout()
- 指定者:
getQueryTimeout在接口中java.sql.Statement
-
setQueryTimeout
public void setQueryTimeout(int seconds) throws java.sql.SQLException- 指定者:
setQueryTimeout在接口中java.sql.Statement- 抛出:
java.sql.SQLException
-
getResultSet
public java.sql.ResultSet getResultSet() throws java.sql.SQLException- 指定者:
getResultSet在接口中java.sql.Statement- 抛出:
java.sql.SQLException
-
getResultSetConcurrency
public int getResultSetConcurrency() throws java.sql.SQLException- 指定者:
getResultSetConcurrency在接口中java.sql.Statement- 抛出:
java.sql.SQLException
-
getResultSetHoldability
public int getResultSetHoldability() throws java.sql.SQLException- 指定者:
getResultSetHoldability在接口中java.sql.Statement- 抛出:
java.sql.SQLException
-
getResultSetType
public int getResultSetType() throws java.sql.SQLException- 指定者:
getResultSetType在接口中java.sql.Statement- 抛出:
java.sql.SQLException
-
getUpdateCount
public int getUpdateCount() throws java.sql.SQLException- 指定者:
getUpdateCount在接口中java.sql.Statement- 抛出:
java.sql.SQLException
-
getWarnings
public java.sql.SQLWarning getWarnings()
- 指定者:
getWarnings在接口中java.sql.Statement
-
isCloseOnCompletion
public boolean isCloseOnCompletion() throws java.sql.SQLException- 指定者:
isCloseOnCompletion在接口中java.sql.Statement- 抛出:
java.sql.SQLException
-
isClosed
public boolean isClosed()
- 指定者:
isClosed在接口中java.sql.Statement
-
isPoolable
public boolean isPoolable() throws java.sql.SQLException- 指定者:
isPoolable在接口中java.sql.Statement- 抛出:
java.sql.SQLException
-
setPoolable
public void setPoolable(boolean arg0) throws java.sql.SQLException- 指定者:
setPoolable在接口中java.sql.Statement- 抛出:
java.sql.SQLException
-
setCursorName
public void setCursorName(java.lang.String arg0) throws java.sql.SQLException- 指定者:
setCursorName在接口中java.sql.Statement- 抛出:
java.sql.SQLException
-
setEscapeProcessing
public void setEscapeProcessing(boolean enable) throws java.sql.SQLException- 指定者:
setEscapeProcessing在接口中java.sql.Statement- 抛出:
java.sql.SQLException
-
getSessionId
public long getSessionId()
-
-