Class RuleStack
- java.lang.Object
-
- org.teiid.query.optimizer.relational.RuleStack
-
public class RuleStack extends Object
-
-
Constructor Summary
Constructors Constructor Description RuleStack()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addLast(OptimizerRule rule)
RuleStack
clone()
boolean
contains(OptimizerRule rule)
RelationalPlanner
getPlanner()
boolean
isEmpty()
OptimizerRule
pop()
void
push(OptimizerRule rule)
void
remove(OptimizerRule rule)
Remove all occurrences of this rule in the stackvoid
setPlanner(RelationalPlanner planner)
int
size()
-
-
-
Method Detail
-
push
public void push(OptimizerRule rule)
-
addLast
public void addLast(OptimizerRule rule)
-
pop
public OptimizerRule pop()
-
isEmpty
public boolean isEmpty()
-
size
public int size()
-
remove
public void remove(OptimizerRule rule)
Remove all occurrences of this rule in the stack- Parameters:
rule
- The rule to remove- Since:
- 4.2
-
contains
public boolean contains(OptimizerRule rule)
-
setPlanner
public void setPlanner(RelationalPlanner planner)
-
getPlanner
public RelationalPlanner getPlanner()
-
-