public interface DrillStatement extends Statement
Statement
.Wrapper.unwrap(java.lang.Class<T>)
CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO
Modifier and Type | Method and Description |
---|---|
int |
getQueryTimeout() |
boolean |
isClosed() |
void |
setQueryTimeout(int seconds)
Drill:
Supported (for non-zero timeout value).
|
void |
setResultSet(org.apache.calcite.avatica.AvaticaResultSet resultSet) |
void |
setUpdateCount(int value) |
addBatch, cancel, clearBatch, clearWarnings, close, closeOnCompletion, execute, execute, execute, execute, executeBatch, executeLargeBatch, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getLargeMaxRows, getLargeUpdateCount, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, isCloseOnCompletion, isPoolable, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setLargeMaxRows, setMaxFieldSize, setMaxRows, setPoolable
isWrapperFor, unwrap
int getQueryTimeout() throws AlreadyClosedSqlException, SQLException
getQueryTimeout
in interface Statement
AlreadyClosedSqlException
- if connection is closedSQLException
- Any other exceptionvoid setQueryTimeout(int seconds) throws AlreadyClosedSqlException, JdbcApiSqlException, SQLException
setQueryTimeout
in interface Statement
AlreadyClosedSqlException
- if connection is closedJdbcApiSqlException
- if an invalid parameter value is detected (and not above case)SQLException
- Any other exceptionboolean isClosed()
Drill: Does not throw SQLException.
void setResultSet(org.apache.calcite.avatica.AvaticaResultSet resultSet)
void setUpdateCount(int value)
Copyright © 1970 The Apache Software Foundation. All rights reserved.