public class Drop extends Command implements TargetedCommand
LanguageObject.Util
tempGroupIDs, TYPE_ALTER_PROC, TYPE_ALTER_TRIGGER, TYPE_ALTER_VIEW, TYPE_BATCHED_UPDATE, TYPE_CREATE, TYPE_DELETE, TYPE_DROP, TYPE_DYNAMIC, TYPE_INSERT, TYPE_QUERY, TYPE_SOURCE_EVENT, TYPE_STORED_PROCEDURE, TYPE_TRIGGER_ACTION, TYPE_UNKNOWN, TYPE_UPDATE, TYPE_UPDATE_PROCEDURE
Constructor and Description |
---|
Drop() |
Modifier and Type | Method and Description |
---|---|
void |
acceptVisitor(LanguageVisitor visitor)
Method for accepting a visitor.
|
boolean |
areResultsCachable()
Whether the results are cachable.
|
Drop |
clone()
Implement clone to make objects cloneable.
|
boolean |
equals(Object obj) |
GroupSymbol |
getGroup() |
List |
getProjectedSymbols()
Get the ordered list of all elements returned by this query.
|
GroupSymbol |
getTable() |
int |
getType()
Return type of command to make it easier to build switch statements by command type.
|
int |
hashCode() |
void |
setTable(GroupSymbol table) |
String |
toString()
Returns a string representation of an instance of this class.
|
addExternalGroupToContext, copyMetadataState, getAllExternalGroups, getCacheHint, getCommandToken, getCorrelatedReferences, getExternalGroupContexts, getOption, getProcessorPlan, getResultSetColumns, getSourceHint, getTemporaryMetadata, getUpdateCommandSymbol, printCommandTree, printCommandTree, pushNewResolvingContext, returnsResultSet, sameOptionAndHint, setCacheHint, setCorrelatedReferences, setExternalGroupContexts, setOption, setProcessorPlan, setSourceHint, setTemporaryMetadata
public GroupSymbol getTable()
public GroupSymbol getGroup()
getGroup
in interface TargetedCommand
public void setTable(GroupSymbol table)
public int getType()
Command
public Drop clone()
LanguageObject
clone
in interface LanguageObject
clone
in class Command
public List getProjectedSymbols()
Command
getProjectedSymbols
in class Command
public boolean areResultsCachable()
Command
areResultsCachable
in class Command
public void acceptVisitor(LanguageVisitor visitor)
LanguageObject
acceptVisitor
in interface LanguageObject
visitor
- Visitor being usedpublic String toString()
Command
Copyright © 2019. All rights reserved.