Class PlanDescriptor
- java.lang.Object
-
- org.eclipse.viatra.query.runtime.localsearch.plan.PlanDescriptor
-
- All Implemented Interfaces:
IPlanDescriptor
public class PlanDescriptor extends java.lang.Object implements IPlanDescriptor
- Since:
- 1.4
-
-
Constructor Summary
Constructors Constructor Description PlanDescriptor(PQuery pquery, java.util.Collection<SearchPlanForBody> plan, java.util.Set<PParameter> adornment)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<PParameter>
getAdornment()
The set of parameters this plan assumes to be boundjava.util.Set<IInputKey>
getIteratedKeys()
The collection ofIInputKey
s which needs to be iterated during the execution of this plan.java.util.Collection<SearchPlanForBody>
getPlan()
The executable search plans for each body in the queryPQuery
getQuery()
The query which this plan implementsjava.lang.String
toString()
-
-
-
Constructor Detail
-
PlanDescriptor
public PlanDescriptor(PQuery pquery, java.util.Collection<SearchPlanForBody> plan, java.util.Set<PParameter> adornment)
-
-
Method Detail
-
getQuery
public PQuery getQuery()
Description copied from interface:IPlanDescriptor
The query which this plan implements- Specified by:
getQuery
in interfaceIPlanDescriptor
-
getPlan
public java.util.Collection<SearchPlanForBody> getPlan()
Description copied from interface:IPlanDescriptor
The executable search plans for each body in the query- Specified by:
getPlan
in interfaceIPlanDescriptor
-
getAdornment
public java.util.Set<PParameter> getAdornment()
Description copied from interface:IPlanDescriptor
The set of parameters this plan assumes to be bound- Specified by:
getAdornment
in interfaceIPlanDescriptor
-
getIteratedKeys
public java.util.Set<IInputKey> getIteratedKeys()
Description copied from interface:IPlanDescriptor
The collection ofIInputKey
s which needs to be iterated during the execution of this plan. For optimal performance, instances of these keys might be indexed.- Specified by:
getIteratedKeys
in interfaceIPlanDescriptor
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-