public interface TeiidStatement extends Statement
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 |
---|---|
Collection<Annotation> |
getAnnotations()
Deprecated.
use show statement
|
String |
getDebugLog()
Deprecated.
use show statement
|
String |
getExecutionProperty(String name)
Deprecated.
use show statement
|
PlanNode |
getPlanDescription()
Obtain the query plan object representation from the last
command executed on this Statement, if a query plan was
requested in the command.
|
String |
getRequestIdentifier()
Get ID for last execution which can be used for matching up executions
on the client side with executions in the server logs.
|
void |
setExecutionProperty(String name,
String value)
Deprecated.
use set statement
|
void |
setPayload(Serializable payload)
Set the per-statement security payload.
|
void |
submitExecute(String sql,
StatementCallback callback,
RequestOptions options)
Execute the given statement using a non-blocking callback.
|
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, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, isClosed, isCloseOnCompletion, isPoolable, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setLargeMaxRows, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeout
isWrapperFor, unwrap
String getExecutionProperty(String name)
name
- Execution property namevoid setExecutionProperty(String name, String value)
name
- Execution property namevalue
- Execution property valuePlanNode getPlanDescription()
String getDebugLog()
Collection<Annotation> getAnnotations()
Annotation
s, may return nullString getRequestIdentifier()
void setPayload(Serializable payload)
To remove an existing payload from a statement, call this method
with a null
argument.
payload
- The payload that is to accompany requests executed
from this statement.void submitExecute(String sql, StatementCallback callback, RequestOptions options) throws SQLException
callback
- options
- SQLException
Copyright © 2019. All rights reserved.