public class SetTimeoutStatementBuilder.SetTimeoutStatement extends AbstractQueryPlusStatementBuilder.AbstractStatement
| Modifier and Type | Field and Description |
|---|---|
protected com.oracle.common.util.Duration |
f_durationTimeout
The name of the timeout to set as the current timeout.
|
| Constructor and Description |
|---|
SetTimeoutStatement(com.oracle.common.util.Duration timeout)
Construct a SetTimeoutStatement that will set the current timeout used by the QueryPlus session to the specified timeout.
|
| Modifier and Type | Method and Description |
|---|---|
StatementResult |
execute(ExecutionContext ctx)
Set the current timeout to be used by the CohQL session.
|
getExecutionConfirmation, sanityCheck, showPlanclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisManagingTimeoutprotected final com.oracle.common.util.Duration f_durationTimeout
public SetTimeoutStatement(com.oracle.common.util.Duration timeout)
timeout - the value to set for the statement timeoutpublic StatementResult execute(ExecutionContext ctx)
ctx - the context to useStatementResult.NULL_RESULT