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, updateCount
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 TypeMethodDescriptionprotected void
close_()
org.apache.calcite.jdbc.CalciteConnectionImpl
protected <T> CalcitePrepare.CalciteSignature<T>
<T> T
Methods 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, syncResults
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.sql.Statement
enquoteIdentifier, enquoteLiteral, enquoteNCharLiteral, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, isSimpleIdentifier
-
Method Details
-
unwrap
- Specified by:
unwrap
in interfaceWrapper
- Overrides:
unwrap
in classorg.apache.calcite.avatica.AvaticaStatement
- Throws:
SQLException
-
getConnection
public org.apache.calcite.jdbc.CalciteConnectionImpl getConnection()- Specified by:
getConnection
in interfaceStatement
- Overrides:
getConnection
in classorg.apache.calcite.avatica.AvaticaStatement
-
prepare
-
close_
protected void close_()- Overrides:
close_
in classorg.apache.calcite.avatica.AvaticaStatement
-