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()
Drill:
Returns zero, indicating that no timeout is set.
|
boolean |
isClosed() |
void |
setQueryTimeout(int milliseconds)
Drill:
Not supported (for non-zero timeout value).
|
addBatch, cancel, clearBatch, clearWarnings, close, closeOnCompletion, execute, execute, execute, execute, executeBatch, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, isCloseOnCompletion, isPoolable, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setPoolableisWrapperFor, unwrapint getQueryTimeout()
throws AlreadyClosedSqlException
getQueryTimeout in interface StatementAlreadyClosedSqlException - if connection is closedvoid setQueryTimeout(int milliseconds)
throws AlreadyClosedSqlException,
JdbcApiSqlException,
SQLFeatureNotSupportedException
Normally, just throws SQLFeatureNotSupportedException unless
request is trivially for no timeout (zero milliseconds value).
setQueryTimeout in interface StatementAlreadyClosedSqlException - if connection is closedJdbcApiSqlException - if an invalid parameter value is detected (and not above case)SQLFeatureNotSupportedException - if timeout is non-zero (and not above case)Copyright © 2017 The Apache Software Foundation. All rights reserved.