| Modifier and Type | Field and Description |
|---|---|
| protected List | batchedArgs
Holds batched commands |
| private Query. | |
| protected Lock | cancelTimeoutLock
Lock to prevent race between returning query results and noticing that query has been timed-out or cancelled. |
| protected String | charEncoding
The character encoding to use (if available) |
| protected boolean | clearWarningsCalled
Has clearWarnings() been called? |
| protected String | currentDb
The database in use |
| private long | executeTime
Elapsed time of the execution |
| protected int | fetchSize
The number of rows to fetch at a time (currently ignored) |
| protected final Lock | |
| protected RuntimeProperty | |
| protected QueryAttributesBindings | queryAttributesBindings
Query attributes bindings |
| protected Resultset. | resultSetType
The type of this result set (scroll sensitive or in-sensitive) |
| public NativeSession | |
| pack-priv static int | statementCounter
Used to generate IDs when profiling. |
| protected final AtomicBoolean | statementExecuting
Currently executing a statement? |
| protected int | statementId
Used to identify this statement when profiling. |
| protected long | timeoutInMillis
The timeout for a query |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public void | |
| public void | |
| public List | getBatchedArgs()
Implements com. Get the batched args as added by the addBatch method(s). |
| public Lock | |
| public String | |
| public long | getExecuteTime()
Implements com. Returns the elapsed time for the server to execute the query. |
| public int | |
| public QueryAttributesBindings | |
| public int | |
| public <T extends Resultset, M extends Message> ProtocolEntityFactory | |
| public Resultset. | |
| public NativeSession | |
| public AtomicBoolean | |
| public long | |
| public boolean | |
| public void | |
| public void | |
| public void | setClearWarningsCalled(boolean clearWarningsCalled)
Implements com.
|
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public CancelQueryTask | |
| public void | |
| public void | stopQueryTimer(CancelQueryTask timeoutTask, boolean rethrowCancelReason, boolean checkCancelTimeout)
Implements com.
|
| batchedArgs | back to summary |
|---|---|
| protected List<Object> batchedArgs Holds batched commands | |
| cancelStatus | back to summary |
|---|---|
| private Query. | |
| cancelTimeoutLock | back to summary |
|---|---|
| protected Lock cancelTimeoutLock Lock to prevent race between returning query results and noticing that query has been timed-out or cancelled. | |
| charEncoding | back to summary |
|---|---|
| protected String charEncoding The character encoding to use (if available) | |
| clearWarningsCalled | back to summary |
|---|---|
| protected boolean clearWarningsCalled Has clearWarnings() been called? | |
| currentDb | back to summary |
|---|---|
| protected String currentDb The database in use | |
| executeTime | back to summary |
|---|---|
| private long executeTime Elapsed time of the execution | |
| fetchSize | back to summary |
|---|---|
| protected int fetchSize The number of rows to fetch at a time (currently ignored) | |
| lock | back to summary |
|---|---|
| protected final Lock lock | |
| maxAllowedPacket | back to summary |
|---|---|
| protected RuntimeProperty<Integer> maxAllowedPacket | |
| queryAttributesBindings | back to summary |
|---|---|
| protected QueryAttributesBindings queryAttributesBindings Query attributes bindings | |
| resultSetType | back to summary |
|---|---|
| protected Resultset. The type of this result set (scroll sensitive or in-sensitive) | |
| session | back to summary |
|---|---|
| public NativeSession session | |
| statementCounter | back to summary |
|---|---|
| pack-priv static int statementCounter Used to generate IDs when profiling. | |
| statementExecuting | back to summary |
|---|---|
| protected final AtomicBoolean statementExecuting Currently executing a statement? | |
| statementId | back to summary |
|---|---|
| protected int statementId Used to identify this statement when profiling. | |
| timeoutInMillis | back to summary |
|---|---|
| protected long timeoutInMillis The timeout for a query | |
| AbstractQuery | back to summary |
|---|---|
| public AbstractQuery(NativeSession sess) | |
| addBatch | back to summary |
|---|---|
| public void addBatch(Object batch) Implements com.
| |
| checkCancelTimeout | back to summary |
|---|---|
| public void checkCancelTimeout() Implements com.
| |
| clearBatchedArgs | back to summary |
|---|---|
| public void clearBatchedArgs() Implements com.
| |
| closeQuery | back to summary |
|---|---|
| public void closeQuery() Implements com.
| |
| getBatchedArgs | back to summary |
|---|---|
| public List Implements com. Doc from com. Get the batched args as added by the addBatch method(s). The list is unmodifiable and might contain any combination of String, ClientPreparedQueryBindings, or ServerPreparedQueryBindings depending on how the parameters were batched. | |
| getCancelTimeoutLock | back to summary |
|---|---|
| public Lock getCancelTimeoutLock() Implements com.
| |
| getCurrentDatabase | back to summary |
|---|---|
| public String getCurrentDatabase() Implements com.
| |
| getExecuteTime | back to summary |
|---|---|
| public long getExecuteTime() Implements com. Doc from com. Returns the elapsed time for the server to execute the query.
| |
| getId | back to summary |
|---|---|
| public int getId() Implements com. Doc from com. Returns the query id used when profiling
| |
| getQueryAttributesBindings | back to summary |
|---|---|
| public QueryAttributesBindings getQueryAttributesBindings() Implements com.
| |
| getResultFetchSize | back to summary |
|---|---|
| public int getResultFetchSize() Implements com.
| |
| getResultSetFactory | back to summary |
|---|---|
| public <T extends Resultset, M extends Message> ProtocolEntityFactory Implements com.
| |
| getResultType | back to summary |
|---|---|
| public Resultset. Implements com.
| |
| getSession | back to summary |
|---|---|
| public NativeSession getSession() Implements com.
| |
| getStatementExecuting | back to summary |
|---|---|
| public AtomicBoolean getStatementExecuting() Implements com.
| |
| getTimeoutInMillis | back to summary |
|---|---|
| public long getTimeoutInMillis() Implements com.
| |
| isClearWarningsCalled | back to summary |
|---|---|
| public boolean isClearWarningsCalled() Implements com.
| |
| resetCancelledState | back to summary |
|---|---|
| public void resetCancelledState() Implements com.
| |
| setCancelStatus | back to summary |
|---|---|
| public void setCancelStatus(Query. Implements com.
| |
| setClearWarningsCalled | back to summary |
|---|---|
| public void setClearWarningsCalled(boolean clearWarningsCalled) Implements com.
| |
| setCurrentDatabase | back to summary |
|---|---|
| public void setCurrentDatabase(String currentDb) Implements com.
| |
| setExecuteTime | back to summary |
|---|---|
| public void setExecuteTime(long executeTime) Implements com.
| |
| setResultFetchSize | back to summary |
|---|---|
| public void setResultFetchSize(int fetchSize) Implements com.
| |
| setResultType | back to summary |
|---|---|
| public void setResultType(Resultset. Implements com.
| |
| setTimeoutInMillis | back to summary |
|---|---|
| public void setTimeoutInMillis(long timeoutInMillis) Implements com.
| |
| startQueryTimer | back to summary |
|---|---|
| public CancelQueryTask startQueryTimer(Query stmtToCancel, long timeout) Implements com.
| |
| statementBegins | back to summary |
|---|---|
| public void statementBegins() Implements com.
| |
| stopQueryTimer | back to summary |
|---|---|
| public void stopQueryTimer(CancelQueryTask timeoutTask, boolean rethrowCancelReason, boolean checkCancelTimeout) Implements com.
| |