org.eigenbase.lurql
Class LurqlFollow

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

public class LurqlFollow
extends LurqlPathBranch

LurqlFollow represents a parsed FOLLOW clause in a LURQL query.

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

Field Summary
static String AF_ASSOCIATION
           
static String AF_BACKWARD
           
static String AF_COMPOSITE
           
static String AF_DESTINATION_CLASS
           
static String AF_DESTINATION_END
           
static String AF_FORWARD
           
static String AF_NONCOMPOSITE
           
static String AF_ORIGIN_CLASS
           
static String AF_ORIGIN_END
           
private  Map<String,String> associationFilters
           
private  List<LurqlFilter> filterList
           
 
Constructor Summary
LurqlFollow(String aliasName, Map<String,String> associationFilters, List<LurqlFilter> filterList, LurqlPathSpec thenSpec)
           
 
Method Summary
 Map<String,String> getAssociationFilters()
           
 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

AF_ORIGIN_END

public static final String AF_ORIGIN_END
See Also:
Constant Field Values

AF_ORIGIN_CLASS

public static final String AF_ORIGIN_CLASS
See Also:
Constant Field Values

AF_DESTINATION_END

public static final String AF_DESTINATION_END
See Also:
Constant Field Values

AF_DESTINATION_CLASS

public static final String AF_DESTINATION_CLASS
See Also:
Constant Field Values

AF_COMPOSITE

public static final String AF_COMPOSITE
See Also:
Constant Field Values

AF_NONCOMPOSITE

public static final String AF_NONCOMPOSITE
See Also:
Constant Field Values

AF_ASSOCIATION

public static final String AF_ASSOCIATION
See Also:
Constant Field Values

AF_FORWARD

public static final String AF_FORWARD
See Also:
Constant Field Values

AF_BACKWARD

public static final String AF_BACKWARD
See Also:
Constant Field Values

filterList

private final List<LurqlFilter> filterList

associationFilters

private final Map<String,String> associationFilters
Constructor Detail

LurqlFollow

public LurqlFollow(String aliasName,
                   Map<String,String> associationFilters,
                   List<LurqlFilter> filterList,
                   LurqlPathSpec thenSpec)
Method Detail

getAssociationFilters

public Map<String,String> getAssociationFilters()

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