org.eigenbase.lurql
Class LurqlPathBranch

java.lang.Object
  extended by org.eigenbase.lurql.LurqlQueryNode
      extended by org.eigenbase.lurql.LurqlPathBranch
Direct Known Subclasses:
LurqlFollow, LurqlRecurse, LurqlRoot

public abstract class LurqlPathBranch
extends LurqlQueryNode

LurqlPathBranch represents a parsed path branch (either FROM, FOLLOW, or RECURSIVELY) in a LURQL query.

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

Field Summary
private  String aliasName
           
private  LurqlPathSpec thenSpec
           
 
Constructor Summary
protected LurqlPathBranch(String aliasName, LurqlPathSpec thenSpec)
           
 
Method Summary
 String getAliasName()
           
 LurqlPathSpec getThenSpec()
           
protected  void unparseAlias(PrintWriter pw)
           
protected  void unparseThenSpec(PrintWriter pw)
           
 
Methods inherited from class org.eigenbase.lurql.LurqlQueryNode
toString, unparse, unparseFilterList
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

aliasName

private final String aliasName

thenSpec

private final LurqlPathSpec thenSpec
Constructor Detail

LurqlPathBranch

protected LurqlPathBranch(String aliasName,
                          LurqlPathSpec thenSpec)
Method Detail

getAliasName

public String getAliasName()

getThenSpec

public LurqlPathSpec getThenSpec()

unparseThenSpec

protected void unparseThenSpec(PrintWriter pw)

unparseAlias

protected void unparseAlias(PrintWriter pw)