Class OptimizeShuttle

java.lang.Object
org.apache.calcite.linq4j.tree.Shuttle
org.apache.calcite.linq4j.tree.OptimizeShuttle

public class OptimizeShuttle extends Shuttle
Shuttle that optimizes expressions.

The optimizations are essential, not mere tweaks. Without optimization, expressions such as false == null will be left in, which are invalid to Janino (because it does not automatically box primitives).