Package org.apache.calcite.tools
Class Programs.DecorrelateProgram
- java.lang.Object
-
- org.apache.calcite.tools.Programs.DecorrelateProgram
-
- All Implemented Interfaces:
Program
- Enclosing class:
- Programs
private static class Programs.DecorrelateProgram extends java.lang.Object implements Program
Program that de-correlates a query.To work around [CALCITE-842] Decorrelator gets field offsets confused if fields have been trimmed, disable field-trimming in
SqlToRelConverter
, and runPrograms.TrimFieldsProgram
after this program.
-
-
Constructor Summary
Constructors Modifier Constructor Description private
DecorrelateProgram()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RelNode
run(RelOptPlanner planner, RelNode rel, RelTraitSet requiredOutputTraits, java.util.List<RelOptMaterialization> materializations, java.util.List<RelOptLattice> lattices)
-
-
-
Method Detail
-
run
public RelNode run(RelOptPlanner planner, RelNode rel, RelTraitSet requiredOutputTraits, java.util.List<RelOptMaterialization> materializations, java.util.List<RelOptLattice> lattices)
-
-