public class TOceanbaseCreateTablegroupSqlNode extends TParseTreeNode
CREATE TABLEGROUP (Phase 4 Batch 6).
Grammar shape:
CREATE TABLEGROUP [IF NOT EXISTS] name [option [, option ...]]
where each option is one of PRIMARY_ZONE = 'zone',
LOCALITY = 'F@zone1,F@zone2', BINDING = TRUE|FALSE,
etc.
dbvendor, doubleLinkedTokenListToString, nodeActionAppend, nodeActionInsert, nodeActionRemove, nodeActionUnknown, nodeActionUpdate, nodeActionUpdateText, nodeChangeEndToken, nodeChangeStartToken| Constructor and Description |
|---|
TOceanbaseCreateTablegroupSqlNode() |
| 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) |
TObjectName |
getTablegroupName() |
ArrayList<TOceanbaseTablegroupOption> |
getTablegroupOptions() |
TBaseTablePartition |
getTablePartition() |
void |
init(Object arg1)
Initialize a query tree node.
|
boolean |
isIfNotExists() |
void |
setIfNotExists(boolean ifNotExists) |
void |
setTablegroupName(TObjectName tablegroupName) |
void |
setTablePartition(TBaseTablePartition tablePartition) |
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 TOceanbaseCreateTablegroupSqlNode()
public TObjectName getTablegroupName()
public void setTablegroupName(TObjectName tablegroupName)
public boolean isIfNotExists()
public void setIfNotExists(boolean ifNotExists)
public ArrayList<TOceanbaseTablegroupOption> getTablegroupOptions()
public void addTablegroupOption(TOceanbaseTablegroupOption option)
public TBaseTablePartition getTablePartition()
PARTITION BY ... clause, or
null if no partition clause was specified.public void setTablePartition(TBaseTablePartition tablePartition)
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