public class IoTDBStatement extends Object implements Statement
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.iotdb.service.rpc.thrift.TSIService.Iface |
client |
CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFOclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecuteLargeBatch, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, getLargeMaxRows, getLargeUpdateCount, setLargeMaxRowspublic boolean isWrapperFor(Class<?> iface)
isWrapperFor in interface Wrapperpublic <T> T unwrap(Class<T> iface) throws SQLException
unwrap in interface WrapperSQLExceptionpublic void cancel()
throws SQLException
cancel in interface StatementSQLExceptionpublic void clearBatch()
clearBatch in interface Statementpublic void clearWarnings()
clearWarnings in interface Statementpublic void close()
throws SQLException
close in interface AutoCloseableclose in interface StatementSQLExceptionpublic void closeOnCompletion()
throws SQLException
closeOnCompletion in interface StatementSQLExceptionpublic boolean execute(String sql) throws SQLException
execute in interface StatementSQLExceptionpublic boolean execute(String arg0, int arg1) throws SQLException
execute in interface StatementSQLExceptionpublic boolean execute(String arg0, int[] arg1) throws SQLException
execute in interface StatementSQLExceptionpublic boolean execute(String arg0, String[] arg1) throws SQLException
execute in interface StatementSQLExceptionpublic int[] executeBatch()
throws SQLException
executeBatch in interface StatementSQLExceptionpublic ResultSet executeQuery(String sql) throws SQLException
executeQuery in interface StatementSQLExceptionpublic int executeUpdate(String sql) throws SQLException
executeUpdate in interface StatementSQLExceptionpublic int executeUpdate(String arg0, int arg1) throws SQLException
executeUpdate in interface StatementSQLExceptionpublic int executeUpdate(String arg0, int[] arg1) throws SQLException
executeUpdate in interface StatementSQLExceptionpublic int executeUpdate(String arg0, String[] arg1) throws SQLException
executeUpdate in interface StatementSQLExceptionpublic Connection getConnection()
getConnection in interface Statementpublic int getFetchDirection()
throws SQLException
getFetchDirection in interface StatementSQLExceptionpublic void setFetchDirection(int direction)
throws SQLException
setFetchDirection in interface StatementSQLExceptionpublic int getFetchSize()
throws SQLException
getFetchSize in interface StatementSQLExceptionpublic void setFetchSize(int fetchSize)
throws SQLException
setFetchSize in interface StatementSQLExceptionpublic ResultSet getGeneratedKeys() throws SQLException
getGeneratedKeys in interface StatementSQLExceptionpublic int getMaxFieldSize()
throws SQLException
getMaxFieldSize in interface StatementSQLExceptionpublic void setMaxFieldSize(int arg0)
throws SQLException
setMaxFieldSize in interface StatementSQLExceptionpublic int getMaxRows()
throws SQLException
getMaxRows in interface StatementSQLExceptionpublic void setMaxRows(int num)
throws SQLException
setMaxRows in interface StatementSQLExceptionpublic boolean getMoreResults()
throws SQLException
getMoreResults in interface StatementSQLExceptionpublic boolean getMoreResults(int arg0)
throws SQLException
getMoreResults in interface StatementSQLExceptionpublic int getQueryTimeout()
getQueryTimeout in interface Statementpublic void setQueryTimeout(int seconds)
throws SQLException
setQueryTimeout in interface StatementSQLExceptionpublic ResultSet getResultSet() throws SQLException
getResultSet in interface StatementSQLExceptionpublic int getResultSetConcurrency()
throws SQLException
getResultSetConcurrency in interface StatementSQLExceptionpublic int getResultSetHoldability()
throws SQLException
getResultSetHoldability in interface StatementSQLExceptionpublic int getResultSetType()
throws SQLException
getResultSetType in interface StatementSQLExceptionpublic int getUpdateCount()
throws SQLException
getUpdateCount in interface StatementSQLExceptionpublic SQLWarning getWarnings()
getWarnings in interface Statementpublic boolean isCloseOnCompletion()
throws SQLException
isCloseOnCompletion in interface StatementSQLExceptionpublic boolean isPoolable()
throws SQLException
isPoolable in interface StatementSQLExceptionpublic void setPoolable(boolean arg0)
throws SQLException
setPoolable in interface StatementSQLExceptionpublic void setCursorName(String arg0) throws SQLException
setCursorName in interface StatementSQLExceptionpublic void setEscapeProcessing(boolean enable)
throws SQLException
setEscapeProcessing in interface StatementSQLExceptionCopyright © 2020 The Apache Software Foundation. All rights reserved.