wt.epm.query
Class QueryNodes.SelectNode

java.lang.Object
  extended bywt.epm.query.QueryNodes.Node
      extended bywt.epm.query.QueryNodes.SelectNode
Enclosing class:
QueryNodes

static class QueryNodes.SelectNode
extends QueryNodes.Node


Field Summary
private  boolean distinct
           
private  List from
           
private  List groupBy
           
private  QueryNodes.ConditionNode having
           
private  List hints
           
private  List orderBy
           
private  QueryNodes.ParserScope parserScope
           
private  List select
           
private  QueryNodes.ConditionNode where
           
 
Constructor Summary
(package private) QueryNodes.SelectNode(QueryNodes.ParserScope parserScope, List hints, boolean distinct, List select, List from, QueryNodes.ConditionNode where, List groupBy, QueryNodes.ConditionNode having, List orderBy)
           
 
Method Summary
protected static void appendJoint(QueryNodes.QueryScope scope, QueryNodes.ClassNode source, String sourceAttribute, QueryNodes.ClassNode target)
           
protected static void appendJoint(QueryNodes.QueryScope scope, QueryNodes.ClassNode source, String sourceAttribute, QueryNodes.ClassNode target, int outerJoint)
           
protected static void appendOpionalAnd(QueryNodes.QueryScope scope)
           
(package private)  int checkSelectIndex(String name)
           
protected static void dump(Collection collection, PrintStream out, QueryNodes.Shift shift)
           
(package private)  void dump(PrintStream out, QueryNodes.Shift shift)
           
protected static void dump(QueryNodes.Node node, PrintStream out, QueryNodes.Shift shift)
           
protected static void dump(String prefix, Collection collection, PrintStream out, QueryNodes.Shift shift)
           
protected static void dump(String prefix, QueryNodes.Node node, PrintStream out, QueryNodes.Shift shift)
           
protected static void generate(Collection collection, QueryNodes.QueryScope scope)
           
protected static void generate(QueryNodes.GeneratableNode node, QueryNodes.QueryScope scope)
           
 void generate(QueryNodes.QueryScope scope)
           
 QueryNodes.ParserScope getParserScope()
           
(package private)  int getSelectIndex(String name)
           
protected  String getShortClassName()
           
protected  String getTitle(QueryNodes.Shift shift)
           
(package private)  boolean isChunkingAvialable()
           
protected  void register(QueryNodes.ParserScope parserScope)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

parserScope

private QueryNodes.ParserScope parserScope

hints

private List hints

distinct

private boolean distinct

select

private List select

from

private List from

where

private QueryNodes.ConditionNode where

groupBy

private List groupBy

having

private QueryNodes.ConditionNode having

orderBy

private List orderBy
Constructor Detail

QueryNodes.SelectNode

QueryNodes.SelectNode(QueryNodes.ParserScope parserScope,
                      List hints,
                      boolean distinct,
                      List select,
                      List from,
                      QueryNodes.ConditionNode where,
                      List groupBy,
                      QueryNodes.ConditionNode having,
                      List orderBy)
                throws QueryException
Method Detail

getParserScope

public QueryNodes.ParserScope getParserScope()

checkSelectIndex

int checkSelectIndex(String name)
               throws QueryException
Throws:
QueryException

getSelectIndex

int getSelectIndex(String name)

isChunkingAvialable

boolean isChunkingAvialable()

dump

void dump(PrintStream out,
          QueryNodes.Shift shift)
Overrides:
dump in class QueryNodes.Node

generate

public void generate(QueryNodes.QueryScope scope)
              throws WTException,
                     WTPropertyVetoException
Throws:
WTException
WTPropertyVetoException

register

protected void register(QueryNodes.ParserScope parserScope)
                 throws QueryException
Throws:
QueryException

getTitle

protected String getTitle(QueryNodes.Shift shift)

getShortClassName

protected String getShortClassName()

dump

protected static void dump(QueryNodes.Node node,
                           PrintStream out,
                           QueryNodes.Shift shift)

dump

protected static void dump(String prefix,
                           QueryNodes.Node node,
                           PrintStream out,
                           QueryNodes.Shift shift)

dump

protected static void dump(Collection collection,
                           PrintStream out,
                           QueryNodes.Shift shift)

dump

protected static void dump(String prefix,
                           Collection collection,
                           PrintStream out,
                           QueryNodes.Shift shift)

generate

protected static void generate(QueryNodes.GeneratableNode node,
                               QueryNodes.QueryScope scope)
                        throws WTException,
                               WTPropertyVetoException
Throws:
WTException
WTPropertyVetoException

generate

protected static void generate(Collection collection,
                               QueryNodes.QueryScope scope)
                        throws WTException,
                               WTPropertyVetoException
Throws:
WTException
WTPropertyVetoException

appendOpionalAnd

protected static void appendOpionalAnd(QueryNodes.QueryScope scope)

appendJoint

protected static void appendJoint(QueryNodes.QueryScope scope,
                                  QueryNodes.ClassNode source,
                                  String sourceAttribute,
                                  QueryNodes.ClassNode target)
                           throws WTException
Throws:
WTException

appendJoint

protected static void appendJoint(QueryNodes.QueryScope scope,
                                  QueryNodes.ClassNode source,
                                  String sourceAttribute,
                                  QueryNodes.ClassNode target,
                                  int outerJoint)
                           throws WTException
Throws:
WTException