MySQL 5.6.14 Source Code Document
|
Public Member Functions | |
QueryExecutionContextImpl (SessionSPI session) | |
QueryExecutionContextImpl (SessionSPI session, Map< String, Object > parameterMap) | |
void | bindParameterValue (String parameterName, Object value) |
Object | getParameterValue (String parameterName) |
boolean | isBound (String parameterName) |
SessionSPI | getSession () |
ResultData | getResultData (QueryDomainType<?> queryDomainType) |
void | addFilter (ScanFilter scanFilter) |
void | deleteFilters () |
void | setExplain (Map< String, Object > explain) |
Map< String, Object > | getExplain () |
Byte | getByte (String index) |
BigDecimal | getBigDecimal (String index) |
BigInteger | getBigInteger (String index) |
Boolean | getBoolean (String index) |
byte[] | getBytes (String index) |
Double | getDouble (String index) |
Float | getFloat (String index) |
Integer | getInt (String index) |
Date | getJavaSqlDate (String index) |
Time | getJavaSqlTime (String index) |
Timestamp | getJavaSqlTimestamp (String index) |
java.util.Date | getJavaUtilDate (String index) |
Long | getLong (String index) |
Short | getShort (String index) |
String | getString (String index) |
Object | getObject (String index) |
Protected Member Functions | |
QueryExecutionContextImpl (QueryExecutionContextImpl context) |
Protected Attributes | |
Map< String, Object > | boundParameters |
SessionSPI | session |
Map< String, Object > | explain = null |
This is the execution context for a query. It contains the parameter bindings so as to make query execution thread-safe.
Definition at line 45 of file QueryExecutionContextImpl.java.
|
inline |
Create a new execution context with an empty map of parameters.
session | the session for this context |
Definition at line 68 of file QueryExecutionContextImpl.java.
|
inlineprotected |
Create a new execution context copying the bound parameter values. This allows a new execution of a query only modifying some parameters.
context | an existing execution context |
Definition at line 80 of file QueryExecutionContextImpl.java.
|
inline |
Create a new execution context with specific map of parameters.
session | the session for this context |
parameterMap | the parameter map for this context |
Definition at line 89 of file QueryExecutionContextImpl.java.
|
inline |
Add a filter to the list of filters created for this query.
scanFilter | the filter |
Implements com.mysql.clusterj.core.spi.QueryExecutionContext.
Definition at line 136 of file QueryExecutionContextImpl.java.
|
inline |
Bind the value of a parameter for this query execution.
parameterName | the name of the parameter |
value | the value for the parameter |
Definition at line 99 of file QueryExecutionContextImpl.java.
|
inline |
Delete all the filters created for this query.
Implements com.mysql.clusterj.core.spi.QueryExecutionContext.
Definition at line 142 of file QueryExecutionContextImpl.java.
|
inline |
Get the value of a parameter by name.
Implements com.mysql.clusterj.core.spi.QueryExecutionContext.
Definition at line 108 of file QueryExecutionContextImpl.java.
|
inline |
Return whether the parameter has a value for this execution context.
parameterName | the name of the parameter |
Implements com.mysql.clusterj.core.spi.QueryExecutionContext.
Definition at line 121 of file QueryExecutionContextImpl.java.
|
protected |
Definition at line 53 of file QueryExecutionContextImpl.java.
|
protected |
The explain for this query; will be null until executed or explained
Definition at line 63 of file QueryExecutionContextImpl.java.
|
protected |
The session for this query
Definition at line 57 of file QueryExecutionContextImpl.java.