public interface Query
| Modifier and Type | Interface and Description |
|---|---|
static class |
Query.CancelStatus |
int getId()
void setCancelStatus(Query.CancelStatus cs)
void checkCancelTimeout()
<T extends Resultset,M extends Message> ProtocolEntityFactory<T,M> getResultSetFactory()
Session getSession()
Object getCancelTimeoutMutex()
void resetCancelledState()
void closeQuery()
void addBatch(Object batch)
List<Object> getBatchedArgs()
void clearBatchedArgs()
QueryAttributesBindings getQueryAttributesBindings()
int getResultFetchSize()
void setResultFetchSize(int fetchSize)
Resultset.Type getResultType()
void setResultType(Resultset.Type resultSetType)
int getTimeoutInMillis()
void setTimeoutInMillis(int timeoutInMillis)
void setExecuteTime(long executeTime)
long getExecuteTime()
CancelQueryTask startQueryTimer(Query stmtToCancel, int timeout)
AtomicBoolean getStatementExecuting()
String getCurrentDatabase()
void setCurrentDatabase(String currentDb)
boolean isClearWarningsCalled()
void setClearWarningsCalled(boolean clearWarningsCalled)
void statementBegins()
void stopQueryTimer(CancelQueryTask timeoutTask, boolean rethrowCancelReason, boolean checkCancelTimeout)