org.xcmis.search.query.plan
Class QueryExecutionPlan.NestedExecutionPlan

java.lang.Object
  extended by org.xcmis.search.query.plan.QueryExecutionPlan
      extended by org.xcmis.search.query.plan.QueryExecutionPlan.NestedExecutionPlan
All Implemented Interfaces:
Iterator<QueryExecutionPlan>
Direct Known Subclasses:
QueryExecutionPlan.LimitExecutionPlan, QueryExecutionPlan.ProjectExecutionPlan, QueryExecutionPlan.SortExecutionPlan, QueryExecutionPlan.WhereExecutionPlan
Enclosing class:
QueryExecutionPlan

public static class QueryExecutionPlan.NestedExecutionPlan
extends QueryExecutionPlan


Nested Class Summary
 
Nested classes/interfaces inherited from class org.xcmis.search.query.plan.QueryExecutionPlan
QueryExecutionPlan.JoinExecutionPlan, QueryExecutionPlan.LimitExecutionPlan, QueryExecutionPlan.NestedExecutionPlan, QueryExecutionPlan.ProjectExecutionPlan, QueryExecutionPlan.SelectorExecutionPlan, QueryExecutionPlan.SortExecutionPlan, QueryExecutionPlan.SourceExecutionPlan, QueryExecutionPlan.Type, QueryExecutionPlan.WhereExecutionPlan
 
Field Summary
protected  QueryExecutionPlan childPlan
           
 
Constructor Summary
QueryExecutionPlan.NestedExecutionPlan(QueryExecutionPlan.Type type)
           
QueryExecutionPlan.NestedExecutionPlan(QueryExecutionPlan.Type type, QueryExecutionPlan childPlan)
           
 
Method Summary
 QueryExecutionPlan findPlanByType(QueryExecutionPlan.Type type)
          Return plan by type
 QueryExecutionPlan getChildPlan()
           
 int getSize()
           
 boolean hasNext()
           
 QueryExecutionPlan next()
           
 void setChildPlan(QueryExecutionPlan childPlan)
           
 
Methods inherited from class org.xcmis.search.query.plan.QueryExecutionPlan
addSelector, addSelector, addSelectors, getRecursiveString, getSelectors, getType, remove, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

childPlan

protected QueryExecutionPlan childPlan
Constructor Detail

QueryExecutionPlan.NestedExecutionPlan

public QueryExecutionPlan.NestedExecutionPlan(QueryExecutionPlan.Type type)
Parameters:
type -

QueryExecutionPlan.NestedExecutionPlan

public QueryExecutionPlan.NestedExecutionPlan(QueryExecutionPlan.Type type,
                                              QueryExecutionPlan childPlan)
Parameters:
type -
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator<QueryExecutionPlan>
Overrides:
hasNext in class QueryExecutionPlan
See Also:
QueryExecutionPlan.hasNext()

next

public QueryExecutionPlan next()
Specified by:
next in interface Iterator<QueryExecutionPlan>
Overrides:
next in class QueryExecutionPlan
See Also:
QueryExecutionPlan.next()

getSize

public int getSize()
Overrides:
getSize in class QueryExecutionPlan
Returns:
size;
See Also:
QueryExecutionPlan.getSize()

findPlanByType

public QueryExecutionPlan findPlanByType(QueryExecutionPlan.Type type)
Description copied from class: QueryExecutionPlan
Return plan by type

Overrides:
findPlanByType in class QueryExecutionPlan
Returns:
See Also:
QueryExecutionPlan.findPlanByType(org.xcmis.search.query.plan.QueryExecutionPlan.Type)

getChildPlan

public QueryExecutionPlan getChildPlan()
Returns:
the childPlan

setChildPlan

public void setChildPlan(QueryExecutionPlan childPlan)
Parameters:
childPlan - the childPlan to set


Copyright © 2011 eXo Platform SAS. All Rights Reserved.