Package org.apache.drill.jdbc
Interface DrillStatement
- All Superinterfaces:
AutoCloseable,Statement,Wrapper
- All Known Implementing Classes:
DrillStatementImpl
Drill-specific
Statement.- See Also:
-
Field Summary
Fields inherited from interface java.sql.Statement
CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO -
Method Summary
Modifier and TypeMethodDescriptionintbooleanisClosed()voidsetQueryTimeout(int seconds) Drill: Supported (for non-zero timeout value).voidsetResultSet(org.apache.calcite.avatica.AvaticaResultSet resultSet) voidsetUpdateCount(int value) Methods inherited from interface java.sql.Statement
addBatch, cancel, clearBatch, clearWarnings, close, closeOnCompletion, enquoteIdentifier, enquoteLiteral, enquoteNCharLiteral, 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, isSimpleIdentifier, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setLargeMaxRows, setMaxFieldSize, setMaxRows, setPoolableMethods inherited from interface java.sql.Wrapper
isWrapperFor, unwrap
-
Method Details
-
getQueryTimeout
- Specified by:
getQueryTimeoutin interfaceStatement- Throws:
AlreadyClosedSqlException- if connection is closedSQLException- Any other exception
-
setQueryTimeout
void setQueryTimeout(int seconds) throws AlreadyClosedSqlException, JdbcApiSqlException, SQLException Drill: Supported (for non-zero timeout value).- Specified by:
setQueryTimeoutin interfaceStatement- Throws:
AlreadyClosedSqlException- if connection is closedJdbcApiSqlException- if an invalid parameter value is detected (and not above case)SQLException- Any other exception
-
isClosed
boolean isClosed()Drill: Does not throw SQLException.
-
setResultSet
void setResultSet(org.apache.calcite.avatica.AvaticaResultSet resultSet) -
setUpdateCount
void setUpdateCount(int value)
-