org.eigenbase.lurql
Class LurqlQuery

java.lang.Object
  extended by org.eigenbase.lurql.LurqlQueryNode
      extended by org.eigenbase.lurql.LurqlQuery

public class LurqlQuery
extends LurqlQueryNode

LurqlQuery represents the parsed form of a LURQL query.

Version:
$Id: //open/dev/farrago/src/org/eigenbase/lurql/LurqlQuery.java#1 $
Author:
John V. Sichi

Field Summary
private  LurqlQueryNode root
           
private  List<String> selectList
           
 
Constructor Summary
LurqlQuery(List<String> selectList, LurqlQueryNode root)
           
 
Method Summary
 LurqlQueryNode getRoot()
           
 List<String> getSelectList()
           
 void unparse(PrintWriter pw)
          Converts this node to text.
(package private) static void unparseSelectList(PrintWriter pw, List<String> selectList)
           
 
Methods inherited from class org.eigenbase.lurql.LurqlQueryNode
toString, unparseFilterList
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

selectList

private final List<String> selectList

root

private final LurqlQueryNode root
Constructor Detail

LurqlQuery

public LurqlQuery(List<String> selectList,
                  LurqlQueryNode root)
Method Detail

getSelectList

public List<String> getSelectList()

getRoot

public LurqlQueryNode getRoot()

unparseSelectList

static void unparseSelectList(PrintWriter pw,
                              List<String> selectList)

unparse

public void unparse(PrintWriter pw)
Description copied from class: LurqlQueryNode
Converts this node to text.

Specified by:
unparse in class LurqlQueryNode
Parameters:
pw - the PrintWriter on which to unparse; must have an underlying StackWriter to interpret indentation