public class TOceanbaseAlterTablegroupSqlNode extends TParseTreeNode
ALTER TABLEGROUP (Phase 4 Batch 6).
Grammar shapes:
ALTER TABLEGROUP name SET option_listALTER TABLEGROUP name ADD TABLE table_listALTER TABLEGROUP name ADD PARTITION (def, ...)ALTER TABLEGROUP name DROP PARTITION name_listALTER TABLEGROUP name TRUNCATE PARTITION name_list| Modifier and Type | Class and Description |
|---|---|
static class |
TOceanbaseAlterTablegroupSqlNode.EAction |
dbvendor, doubleLinkedTokenListToString, nodeActionAppend, nodeActionInsert, nodeActionRemove, nodeActionUnknown, nodeActionUpdate, nodeActionUpdateText, nodeChangeEndToken, nodeChangeStartToken| Constructor and Description |
|---|
TOceanbaseAlterTablegroupSqlNode() |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(TParseTreeVisitor v)
Accept a visitor
|
void |
acceptChildren(TParseTreeVisitor v)
Accept a visitor to iterate this class and sub-nodes of this class
|
void |
addTablegroupOption(TOceanbaseTablegroupOption option) |
TOceanbaseAlterTablegroupSqlNode.EAction |
getAction() |
ArrayList<TPartitionDefinition> |
getAddPartitionDefinitions() |
TObjectNameList |
getAddTableList() |
TObjectNameList |
getPartitionNameList() |
TObjectName |
getTablegroupName() |
ArrayList<TOceanbaseTablegroupOption> |
getTablegroupOptions() |
void |
init(Object arg1)
Initialize a query tree node.
|
void |
setAction(TOceanbaseAlterTablegroupSqlNode.EAction action) |
void |
setAddPartitionDefinitions(ArrayList<TPartitionDefinition> addPartitionDefinitions) |
void |
setAddTableList(TObjectNameList addTableList) |
void |
setPartitionNameList(TObjectNameList partitionNameList) |
void |
setTablegroupName(TObjectName tablegroupName) |
addAllMyTokensToTokenList, addToTokenChain, appendNewNode, calculateTokenCount, doAppendNewNode, doParse, fastSetString, getAnchorNode, getColumnNo, getCommentAfterNode, getCommentBeforeNode, getCompactString, getDummyTag, getEndToken, getEvaluateDatatype, getEvalValue, getGsqlparser, getLineNo, getLocation, getMd5, getNodeStatus, getNodeType, getParentObjectName, getPlainText, getStartToken, getTokenCount, hasNext, init, init, init, init, init, init, init, init, init, insertAfterAToken, insertNewNodeBeforeMe, isChanged, isTokensInChain, next, refreshAllNodesTokenCount, remove, removeAllMyTokensFromTokenList, removeTokens, removeTokensBetweenNodes, removeTokensBetweenToken, replaceWithNewNode, resetIterator, setAnchorNode, setChanged, setDummyTag, setEndToken, setEndToken, setEndToken, setEndToken, setEndToken, setEndTokenDirectly, setEvaluateDatatype, setEvalValue, setGsqlparser, setIncludingComment, setLocation, setNewSubNode, setNodeStatus, setNodeType, setParent, setPlainText, setStartToken, setStartToken, setStartToken, setStartToken, setStartTokenDirectly, setString, setString2, subNodeInNode, toScript, toString, toString2clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEachRemainingpublic TOceanbaseAlterTablegroupSqlNode()
public TOceanbaseAlterTablegroupSqlNode.EAction getAction()
public void setAction(TOceanbaseAlterTablegroupSqlNode.EAction action)
public TObjectName getTablegroupName()
public void setTablegroupName(TObjectName tablegroupName)
public ArrayList<TOceanbaseTablegroupOption> getTablegroupOptions()
public void addTablegroupOption(TOceanbaseTablegroupOption option)
public TObjectNameList getAddTableList()
public void setAddTableList(TObjectNameList addTableList)
public ArrayList<TPartitionDefinition> getAddPartitionDefinitions()
public void setAddPartitionDefinitions(ArrayList<TPartitionDefinition> addPartitionDefinitions)
public TObjectNameList getPartitionNameList()
public void setPartitionNameList(TObjectNameList partitionNameList)
public void init(Object arg1)
TParseTreeNodeinit in class TParseTreeNodearg1 - first argumentpublic void accept(TParseTreeVisitor v)
TParseTreeNodeaccept in interface Visitableaccept in class TParseTreeNodev - visitor is a descendant class of TParseTreeVisitorpublic void acceptChildren(TParseTreeVisitor v)
TParseTreeNodeacceptChildren in interface VisitableacceptChildren in class TParseTreeNodev - visitor is a descendant class of TParseTreeVisitor