public abstract class AbstractQueryPlusStatementBuilder.AbstractStatement extends Object implements Statement
Statement.| Constructor and Description |
|---|
AbstractStatement() |
| Modifier and Type | Method and Description |
|---|---|
String |
getExecutionConfirmation(ExecutionContext ctx)
Return a string that will be used as a question to confirm execution of a statement.
|
void |
sanityCheck(ExecutionContext ctx)
Perform sanity checks on the statement that will be executed.
|
void |
showPlan(PrintWriter out)
Output to the provided
PrintWriter a human readable trace of the actions that will be taken by this statement if or when executed. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecute, isManagingTimeoutpublic void sanityCheck(ExecutionContext ctx)
StatementImplementations can fail sanity checking by throwing an unchecked exception (RuntimeException).
sanityCheck in interface Statementctx - the context to usepublic void showPlan(PrintWriter out)
StatementPrintWriter a human readable trace of the actions that will be taken by this statement if or when executed.public String getExecutionConfirmation(ExecutionContext ctx)
StatementgetExecutionConfirmation in interface Statementctx - the context to use