com.bea.p13n.expression
Interface Optimizer
- public interface Optimizer
The Optimizer
interface is implemented by the class that can optimize an
Expression
.
Method Summary
|
void |
optimize(Expression expression)
Performs an optimization on the supplied expression. |
void |
reset()
Resets the state of the optimizer. |
optimize
public void optimize(Expression expression)
throws ExpressionException
- Performs an optimization on the supplied expression. The
expression is modified (rewritten) in place.
- Parameters:
expression
- the expression to be optimized.- Throws:
- ExpressionException - if an error occurs during optimization of
the supplied expression.
reset
public void reset()
- Resets the state of the optimizer.
Copyright © 2002 BEA Systems, Inc. All Rights Reserved