|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eigenbase.lurql.LurqlPlanVertex
public class LurqlPlanVertex
LurqlPlanVertex is a vertex in a LURQL plan graph.
Field Summary | |
---|---|
private Set<JmiClassVertex> |
classVertexSet
Set of JmiClassVertex references corresponding to classes which need to be queried at this point in the plan. |
private List<LurqlFilter> |
filters
All filters that apply at the given node |
private String |
name
Name for this vertex (unique with respect to containing plan). |
private LurqlPlan |
plan
Containing plan. |
private LurqlPlanVertex |
recursionRoot
If non-null, the root of a recursive cycle. |
private org.jgrapht.DirectedGraph<LurqlPlanVertex,LurqlPlanEdge> |
recursionSubgraph
If non-null, a subgraph of vertices which should be executed cyclically to implement dynamic recursion. |
private boolean |
recursive
True if this vertex participates in a recursion execution cycle. |
private Set<String> |
rootObjectIds
Set of object MofIds to use as roots. |
private String |
stringRep
String representation of this vertex. |
private Set<JmiClassVertex> |
unmodifiableClassVertexSet
Unmodifiable counterpart to classVertexSet (for public consumption). |
private List<LurqlFilter> |
unmodifiableFilters
Unmodifiable counterpart to filters (for public consumption). |
private String |
var
The alias assigned to this vertex in the parsed query, or null if none. |
Constructor Summary | |
---|---|
LurqlPlanVertex(LurqlPlan plan,
String name,
String alias,
Set<String> rootObjectIds)
|
Method Summary | |
---|---|
(package private) void |
addClassVertex(JmiClassVertex classVertex)
|
(package private) void |
addFilters(List<LurqlFilter> filters)
|
private String |
computeStringRep()
|
(package private) org.jgrapht.DirectedGraph<LurqlPlanVertex,LurqlPlanEdge> |
createReachableSubgraph(boolean setRecursive)
|
(package private) void |
freeze()
|
String |
getAlias()
|
Set<JmiClassVertex> |
getClassVertexSet()
|
List<LurqlFilter> |
getFilters()
|
String |
getName()
|
LurqlPlanVertex |
getRecursionRoot()
|
org.jgrapht.DirectedGraph<LurqlPlanVertex,LurqlPlanEdge> |
getRecursionSubgraph()
|
Set<String> |
getRootObjectIds()
|
boolean |
isRecursive()
|
(package private) void |
setRecursionRoot(LurqlPlanVertex recursionRoot)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private final LurqlPlan plan
private final String name
private final String var
private Set<JmiClassVertex> classVertexSet
private Set<JmiClassVertex> unmodifiableClassVertexSet
private final List<LurqlFilter> filters
private final List<LurqlFilter> unmodifiableFilters
private final Set<String> rootObjectIds
private LurqlPlanVertex recursionRoot
private org.jgrapht.DirectedGraph<LurqlPlanVertex,LurqlPlanEdge> recursionSubgraph
private boolean recursive
private String stringRep
Constructor Detail |
---|
public LurqlPlanVertex(LurqlPlan plan, String name, String alias, Set<String> rootObjectIds)
Method Detail |
---|
public String getName()
public String getAlias()
public org.jgrapht.DirectedGraph<LurqlPlanVertex,LurqlPlanEdge> getRecursionSubgraph()
public boolean isRecursive()
public LurqlPlanVertex getRecursionRoot()
void setRecursionRoot(LurqlPlanVertex recursionRoot)
org.jgrapht.DirectedGraph<LurqlPlanVertex,LurqlPlanEdge> createReachableSubgraph(boolean setRecursive)
public String toString()
toString
in class Object
private String computeStringRep()
public List<LurqlFilter> getFilters()
public Set<JmiClassVertex> getClassVertexSet()
public Set<String> getRootObjectIds()
void addClassVertex(JmiClassVertex classVertex)
void addFilters(List<LurqlFilter> filters)
void freeze()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |