public class THierarchical extends TParseTreeNode
Constructor and Description |
---|
THierarchical() |
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.
|
TExpression |
getConnectByClause()
Deprecated.
As of v1.6.6.6, use
getConnectByList() instead |
TPTNodeList<TConnectByClause> |
getConnectByList() |
TExpression |
getStartWithClause()
Specify a condition that identifies the row(s) to be used as the root(s) of a hierarchical query.
|
void |
init(Object arg1)
Initialize a query tree node.
|
void |
init(Object arg1,
Object arg2) |
boolean |
isNoCycle()
Deprecated.
As of v1.6.6.6, use
TConnectByClause.isNoCycle() instead |
void |
setConnectByClause(TExpression connectByClause) |
void |
setConnectByList(TPTNodeList<TConnectByClause> connectByList) |
void |
setNoCycle(boolean noCycle) |
void |
setStartWithClause(TExpression startWithClause) |
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 TPTNodeList<TConnectByClause> getConnectByList()
public void setNoCycle(boolean noCycle)
public boolean isNoCycle()
TConnectByClause.isNoCycle()
insteadpublic TExpression getStartWithClause()
public TExpression getConnectByClause()
getConnectByList()
insteadpublic void init(Object arg1)
TParseTreeNode
init
in class TParseTreeNode
arg1
- first argumentpublic void init(Object arg1, Object arg2)
init
in class TParseTreeNode
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 setConnectByList(TPTNodeList<TConnectByClause> connectByList)
public void setConnectByClause(TExpression connectByClause)
public void setStartWithClause(TExpression startWithClause)
Copyright © 2019. All rights reserved.