public class ExplainCommand extends Command
| Modifier and Type | Class and Description |
|---|---|
static class |
ExplainCommand.Format |
LanguageObject.UtiltempGroupIDs, TYPE_ALTER_PROC, TYPE_ALTER_TRIGGER, TYPE_ALTER_VIEW, TYPE_BATCHED_UPDATE, TYPE_CREATE, TYPE_DELETE, TYPE_DROP, TYPE_DYNAMIC, TYPE_EXPLAIN, TYPE_INSERT, TYPE_QUERY, TYPE_SOURCE_EVENT, TYPE_STORED_PROCEDURE, TYPE_TRIGGER_ACTION, TYPE_UNKNOWN, TYPE_UPDATE, TYPE_UPDATE_PROCEDURE| Constructor and Description |
|---|
ExplainCommand() |
| Modifier and Type | Method and Description |
|---|---|
void |
acceptVisitor(LanguageVisitor visitor)
Method for accepting a visitor.
|
boolean |
areResultsCachable()
Whether the results are cachable.
|
ExplainCommand |
clone()
Implement clone to make objects cloneable.
|
boolean |
equals(Object obj) |
Command |
getActualCommand()
For a statement such as explain, obtain the actual command
|
Boolean |
getAnalyze() |
Command |
getCommand() |
ExplainCommand.Format |
getFormat() |
List<Expression> |
getProjectedSymbols()
Get the ordered list of all elements returned by this query.
|
int |
getType()
Return type of command to make it easier to build switch statements by command type.
|
int |
hashCode() |
boolean |
isNoExec() |
boolean |
returnsResultSet() |
void |
setAnalyze(Boolean analyze) |
void |
setCommand(Command command) |
void |
setFormat(ExplainCommand.Format format) |
addExternalGroupToContext, copyMetadataState, getAllExternalGroups, getCacheHint, getCommandToken, getCorrelatedReferences, getExternalGroupContexts, getOption, getProcessorPlan, getResultSetColumns, getSourceHint, getTemporaryMetadata, getUpdateCommandSymbol, printCommandTree, printCommandTree, pushNewResolvingContext, sameOptionAndHint, setCacheHint, setCorrelatedReferences, setExternalGroupContexts, setOption, setProcessorPlan, setSourceHint, setTemporaryMetadata, toStringpublic void acceptVisitor(LanguageVisitor visitor)
LanguageObjectvisitor - Visitor being usedpublic int getType()
Commandpublic ExplainCommand clone()
LanguageObjectclone in interface LanguageObjectclone in class Commandpublic List<Expression> getProjectedSymbols()
CommandgetProjectedSymbols in class Commandpublic boolean areResultsCachable()
CommandareResultsCachable in class Commandpublic ExplainCommand.Format getFormat()
public void setFormat(ExplainCommand.Format format)
public boolean isNoExec()
public Boolean getAnalyze()
public void setAnalyze(Boolean analyze)
public Command getCommand()
public void setCommand(Command command)
public Command getActualCommand()
CommandgetActualCommand in class Commandpublic boolean returnsResultSet()
returnsResultSet in class CommandCopyright © 2020. All rights reserved.