public abstract class QueryNode extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
QueryNode.IntermediateNode |
static class |
QueryNode.TerminalNode |
| Modifier and Type | Method and Description |
|---|---|
abstract <V> V |
accept(QueryNodeVisitor<V> visitor) |
abstract QueryNode |
add(AttributeQuery<?> query,
List<String> path,
int pathPos) |
protected int |
commonPathLen(List<String> path,
int pathPos) |
protected <T> List<T> |
drop(List<T> list,
int start) |
static com.google.common.collect.Ordering<QueryNode> |
pathOrdering() |
List<String> |
pathSegments() |
abstract StringBuilder |
prettyPrint(int depth) |
void |
setPathSegments(List<String> pathSegments) |
protected <T> List<T> |
take(List<T> list,
int end) |
public static final com.google.common.collect.Ordering<QueryNode> pathOrdering()
public abstract QueryNode add(AttributeQuery<?> query, List<String> path, int pathPos)
public abstract StringBuilder prettyPrint(int depth)
public abstract <V> V accept(QueryNodeVisitor<V> visitor)
Copyright © 2014. All rights reserved.