Package org.apache.calcite.jdbc
Class CalciteStatement
java.lang.Object
org.apache.calcite.avatica.AvaticaStatement
org.apache.calcite.jdbc.CalciteStatement
- All Implemented Interfaces:
AutoCloseable,Statement,Wrapper
public abstract class CalciteStatement
extends org.apache.calcite.avatica.AvaticaStatement
Implementation of
Statement
for the Calcite engine.-
Field Summary
Fields inherited from class org.apache.calcite.avatica.AvaticaStatement
cancelFlag, closed, closeOnCompletion, connection, DEFAULT_FETCH_SIZE, handle, maxRowCount, openResultSet, updateCountFields 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 TypeMethodDescriptionprotected voidclose_()org.apache.calcite.jdbc.CalciteConnectionImplprotected <T> CalcitePrepare.CalciteSignature<T><T> TMethods inherited from class org.apache.calcite.avatica.AvaticaStatement
addBatch, cancel, checkOpen, clearBatch, clearWarnings, close, closeOnCompletion, execute, execute, execute, execute, executeBatch, executeBatchInternal, executeInternal, executeInternal, executeLargeBatch, executeLargeUpdate, executeQuery, executeQueryInternal, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getBoundParameterValues, getFetchDirection, getFetchSize, getGeneratedKeys, getId, getLargeMaxRows, getLargeUpdateCount, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getParameterValues, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getSignature, getStatementType, getUpdateCount, getWarnings, isClosed, isCloseOnCompletion, isPoolable, isWrapperFor, resetStatement, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setLargeMaxRows, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeout, setSignature, syncResultsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.sql.Statement
enquoteIdentifier, enquoteLiteral, enquoteNCharLiteral, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, isSimpleIdentifier
-
Method Details
-
unwrap
- Specified by:
unwrapin interfaceWrapper- Overrides:
unwrapin classorg.apache.calcite.avatica.AvaticaStatement- Throws:
SQLException
-
getConnection
public org.apache.calcite.jdbc.CalciteConnectionImpl getConnection()- Specified by:
getConnectionin interfaceStatement- Overrides:
getConnectionin classorg.apache.calcite.avatica.AvaticaStatement
-
prepare
-
close_
protected void close_()- Overrides:
close_in classorg.apache.calcite.avatica.AvaticaStatement
-