gudusoft.gsqlparser.nodes
Class TGroupingSet

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

public class TGroupingSet
extends TParseTreeNode

GROUPING SETS are a further extension of the GROUP BY clause that let you specify multiple groupings of data.


Constructor Summary
TGroupingSet()
           
 
Method Summary
 void doParse(TCustomSqlStatement psql, ESqlClause plocation)
          analyze this node
 TGroupingSetItemList getItems()
           
 void init(java.lang.Object arg1)
          Initialize a query tree node.
 
Methods inherited from class gudusoft.gsqlparser.nodes.TParseTreeNode
accept, 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

TGroupingSet

public TGroupingSet()
Method Detail

init

public void init(java.lang.Object arg1)
Description copied from class: TParseTreeNode
Initialize a query tree node.

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

getItems

public TGroupingSetItemList getItems()
Returns:
items in the grouping set item list can be type of rollup_cube_clause and grouping_expression_list
See Also:
TGroupingSetItem