gudusoft.gsqlparser.nodes
Class THierarchical

java.lang.Object
  extended by gudusoft.gsqlparser.nodes.TParseTreeNode
      extended by gudusoft.gsqlparser.nodes.THierarchical
All Implemented Interfaces:
Visitable

public class THierarchical
extends TParseTreeNode

Oracle hierarchical_query_clause lets you select rows in a hierarchical order.


Constructor Summary
THierarchical()
           
 
Method Summary
 void accept(TParseTreeVisitor v)
           
 void doParse(TCustomSqlStatement psql, ESqlClause plocation)
          analyze this node
 TExpression getConnectByClause()
          Specify a condition that identifies the relationship between parent rows and child rows of the hierarchy.
 TExpression getStartWithClause()
          Specify a condition that identifies the row(s) to be used as the root(s) of a hierarchical query.
 void init(java.lang.Object arg1, java.lang.Object arg2)
           
 
Methods inherited from class gudusoft.gsqlparser.nodes.TParseTreeNode
addAllMyTokensToTokenList, getColumnNo, getDummyTag, getEndToken, getGsqlparser, getLineNo, getNodeType, getStartToken, init, init, init, init, init, setDummyTag, setEndToken, setEndToken, setGsqlparser, setNodeType, setStartToken, setStartToken, setString, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

THierarchical

public THierarchical()
Method Detail

getStartWithClause

public TExpression getStartWithClause()
Specify a condition that identifies the row(s) to be used as the root(s) of a hierarchical query.

Returns:

getConnectByClause

public TExpression getConnectByClause()
Specify a condition that identifies the relationship between parent rows and child rows of the hierarchy.

Returns:

init

public void init(java.lang.Object arg1,
                 java.lang.Object arg2)
Overrides:
init in class TParseTreeNode

doParse

public void doParse(TCustomSqlStatement psql,
                    ESqlClause plocation)
Description copied from class: TParseTreeNode
analyze this node

Overrides:
doParse in class TParseTreeNode

accept

public void accept(TParseTreeVisitor v)
Specified by:
accept in interface Visitable
Overrides:
accept in class TParseTreeNode