public class SearchPlan
extends java.lang.Object
Constructor and Description |
---|
SearchPlan(PBody body,
java.util.List<ISearchOperation> operations,
TupleMask parameterMask,
java.util.Map<PVariable,java.lang.Integer> variableMapping) |
Modifier and Type | Method and Description |
---|---|
int |
getOperationIndex(ISearchOperation operation)
Returns the index of a given operation in the plan
|
java.util.List<ISearchOperation> |
getOperations()
Returns an immutable list of operations stored in the plan.
|
TupleMask |
getParameterMask() |
PBody |
getSourceBody() |
java.util.Map<java.lang.Integer,PVariable> |
getVariableMapping()
Returns an immutable map of variable mappings for the plan
|
java.lang.String |
toString() |
public SearchPlan(PBody body, java.util.List<ISearchOperation> operations, TupleMask parameterMask, java.util.Map<PVariable,java.lang.Integer> variableMapping)
public java.util.List<ISearchOperation> getOperations()
public java.util.Map<java.lang.Integer,PVariable> getVariableMapping()
public int getOperationIndex(ISearchOperation operation)
public TupleMask getParameterMask()
public PBody getSourceBody()
public java.lang.String toString()
toString
in class java.lang.Object