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.
 

Method Detail

optimize

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

void reset()
Resets the state of the optimizer.



Copyright © 2011, Oracle. All rights reserved.