org.eigenbase.lurql
Class LurqlPathSpec
java.lang.Object
org.eigenbase.lurql.LurqlQueryNode
org.eigenbase.lurql.LurqlPathSpec
public class LurqlPathSpec
- extends LurqlQueryNode
LurqlPathSpec represents the parsed form of a path specification in a LURQL
query.
- Version:
- $Id: //open/dev/farrago/src/org/eigenbase/lurql/LurqlPathSpec.java#1 $
- Author:
- John V. Sichi
branches
private final List<LurqlQueryNode> branches
gatherThen
private final LurqlPathSpec gatherThen
gatherParent
private final boolean gatherParent
LurqlPathSpec
public LurqlPathSpec(List<LurqlQueryNode> branches,
LurqlPathSpec gatherThen,
boolean gatherParent)
getBranches
public List<LurqlQueryNode> getBranches()
isGather
public boolean isGather()
getGatherThenSpec
public LurqlPathSpec getGatherThenSpec()
isGatherParent
public boolean isGatherParent()
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