public class NestedPlan extends Plan
instructionList, mappingSize, runtimeCost, selectivity| Constructor and Description |
|---|
NestedPlan()
Constructor of the NestedPlan class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addSubplan(NestedPlan subplan)
Adds a sub-Plan to the current list of sub-plans.
|
NestedPlan |
clone()
Returns a clone of the current plan.
|
boolean |
equals(Object other)
Compares the current plan with another plan, P.
|
String |
finalPlan()
Returns a string representation of current plan as a set of commands.
|
List<String> |
getAllMeasures()
Returns all the metric expressions of the current plan.
|
boolean |
getExecutionStatus()
Returns the execution status of the plan.
|
Instruction |
getFilteringInstruction()
Returns the filtering Instruction of the plan.
|
List<Instruction> |
getInstructionList()
Returns the list of instructions contained in a instructionList.
|
Instruction.Command |
getOperator()
Returns the operator of the plan.
|
List<NestedPlan> |
getSubPlans()
Returns the set of sub-plans of the current plan.
|
String |
getThreshold()
Returns the threshold of the current plan.
|
boolean |
isAtomic()
Checks whether the current plan is atomic or not.
|
boolean |
isEmpty()
Checks if the plan is empty.
|
void |
setExecutionStatus(boolean executionStatus)
Updates the execution status of the plan.
|
void |
setFilteringInstruction(Instruction filteringInstruction)
Sets the filtering Instruction of the plan.
|
void |
setOperator(Instruction.Command operator)
Sets the operator of the plan.
|
void |
setSubPlans(List<NestedPlan> subPlans)
Sets the sub-plans of the plan.
|
int |
size()
Returns the size of the current plan.
|
String |
toString()
String representation of the current plan.
|
addInstruction, getMappingSize, getRuntimeCost, getSelectivity, hashCode, removeInstruction, removeInstruction, setInstructionList, setMappingSize, setRuntimeCost, setSelectivitypublic List<NestedPlan> getSubPlans()
public void setSubPlans(List<NestedPlan> subPlans)
subPlans - The sub-plans to setpublic Instruction.Command getOperator()
public void setOperator(Instruction.Command operator)
operator - The operator to setpublic Instruction getFilteringInstruction()
public void setFilteringInstruction(Instruction filteringInstruction)
filteringInstruction - The filtering instruction to setpublic boolean getExecutionStatus()
public void setExecutionStatus(boolean executionStatus)
executionStatus - true if the plan has just been executed or false otherwise.public boolean isEmpty()
public boolean isAtomic()
public List<Instruction> getInstructionList()
getInstructionList in interface IPlangetInstructionList in class Planpublic int size()
public NestedPlan clone()
public void addSubplan(NestedPlan subplan)
subplan - The sub-plan to be addedpublic List<String> getAllMeasures()
public String toString()
public String getThreshold()
public String finalPlan()
public boolean equals(Object other)
Copyright © 2018. All rights reserved.