public class TTableElement extends TParseTreeNode
Modifier and Type | Field and Description |
---|---|
static int |
type_column_def |
static int |
type_supplemental_logging |
static int |
type_table_constraint |
static int |
type_table_like |
Constructor and Description |
---|
TTableElement() |
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 |
doParse(TCustomSqlStatement psql,
ESqlClause plocation)
Analyze the sub-nodes inside this node.
|
TColumnDefinition |
getColumnDefinition() |
TConstraint |
getConstraint() |
TObjectName |
getParentTable() |
int |
getType() |
void |
init(Object arg1)
Initialize a query tree node.
|
void |
init(Object arg1,
Object arg2) |
void |
setColumnDefinition(TColumnDefinition columnDefinition) |
void |
setConstraint(TConstraint constraint) |
void |
setParentTable(TObjectName parentTable) |
void |
setSupplementalLogging(TSupplementalLogging supplementalLogging) |
void |
setType(int type) |
addAllMyTokensToTokenList, appendString, fastSetString, getColumnNo, getDummyTag, getEndToken, getGsqlparser, getLineNo, getNodeType, getStartToken, init, init, init, init, removeAllMyTokensFromTokenList, setDummyTag, setEndToken, setEndToken, setEndToken, setEndToken, setGsqlparser, setIncludingComment, setNodeType, setStartToken, setStartToken, setStartToken, setStartToken, setString, toScript, toString
public static final int type_column_def
public static final int type_table_constraint
public static final int type_table_like
public static final int type_supplemental_logging
public TObjectName getParentTable()
public TConstraint getConstraint()
public void init(Object arg1, Object arg2)
init
in class TParseTreeNode
public void init(Object arg1)
TParseTreeNode
init
in class TParseTreeNode
arg1
- first argumentpublic TColumnDefinition getColumnDefinition()
public int getType()
public void doParse(TCustomSqlStatement psql, ESqlClause plocation)
TParseTreeNode
doParse
in class TParseTreeNode
psql
- SQL statement this node belongs toplocation
- SQL clause this node belongs topublic void accept(TParseTreeVisitor v)
TParseTreeNode
accept
in interface Visitable
accept
in class TParseTreeNode
v
- visitor is a descendant class of TParseTreeVisitor
public void acceptChildren(TParseTreeVisitor v)
TParseTreeNode
acceptChildren
in interface Visitable
acceptChildren
in class TParseTreeNode
v
- visitor is a descendant class of TParseTreeVisitor
public void setType(int type)
public void setParentTable(TObjectName parentTable)
public void setColumnDefinition(TColumnDefinition columnDefinition)
public void setConstraint(TConstraint constraint)
public void setSupplementalLogging(TSupplementalLogging supplementalLogging)
Copyright © 2019. All rights reserved.