org.eigenbase.lurql
Class LurqlExists

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

public class LurqlExists
extends LurqlQueryNode

LurqlExists represents an exists clause within a LURQL query.

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

Field Summary
private  LurqlPathSpec pathSpec
           
private  List<String> selectList
           
 
Constructor Summary
LurqlExists(List<String> selectList, LurqlPathSpec pathSpec)
           
 
Method Summary
 LurqlPathSpec getPathSpec()
           
 List<String> getSelectList()
           
 void unparse(PrintWriter pw)
          Converts this node to text.
 
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

pathSpec

private final LurqlPathSpec pathSpec
Constructor Detail

LurqlExists

public LurqlExists(List<String> selectList,
                   LurqlPathSpec pathSpec)
Method Detail

getSelectList

public List<String> getSelectList()

getPathSpec

public LurqlPathSpec getPathSpec()

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