org.eigenbase.lurql
Class LurqlRoot

java.lang.Object
  extended by org.eigenbase.lurql.LurqlQueryNode
      extended by org.eigenbase.lurql.LurqlPathBranch
          extended by org.eigenbase.lurql.LurqlRoot

public class LurqlRoot
extends LurqlPathBranch

LurqlRoot represents the parsed form of a simple root in the FROM clause of a LURQL query.

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

Field Summary
private  String className
           
private  List<LurqlFilter> filterList
           
 
Constructor Summary
LurqlRoot(String aliasName, String className, List<LurqlFilter> filterList, LurqlPathSpec pathSpec)
           
 
Method Summary
 String getClassName()
           
 List<LurqlFilter> getFilterList()
           
 void unparse(PrintWriter pw)
          Converts this node to text.
 
Methods inherited from class org.eigenbase.lurql.LurqlPathBranch
getAliasName, getThenSpec, unparseAlias, unparseThenSpec
 
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

className

private final String className

filterList

private final List<LurqlFilter> filterList
Constructor Detail

LurqlRoot

public LurqlRoot(String aliasName,
                 String className,
                 List<LurqlFilter> filterList,
                 LurqlPathSpec pathSpec)
Method Detail

getClassName

public String getClassName()

getFilterList

public List<LurqlFilter> getFilterList()

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