Package org.apache.calcite.plan.volcano
Class VolcanoPlannerTraitTest.AltTraitConverterRule
- java.lang.Object
-
- org.apache.calcite.plan.RelOptRule
-
- org.apache.calcite.rel.convert.ConverterRule
-
- org.apache.calcite.plan.volcano.VolcanoPlannerTraitTest.AltTraitConverterRule
-
- Enclosing class:
- VolcanoPlannerTraitTest
private static class VolcanoPlannerTraitTest.AltTraitConverterRule extends org.apache.calcite.rel.convert.ConverterRule
Planner rule that converts betweenVolcanoPlannerTraitTest.AltTrait
s.
-
-
Field Summary
Fields Modifier and Type Field Description private org.apache.calcite.plan.RelTrait
toTrait
-
Constructor Summary
Constructors Modifier Constructor Description private
AltTraitConverterRule(VolcanoPlannerTraitTest.AltTrait fromTrait, VolcanoPlannerTraitTest.AltTrait toTrait, java.lang.String description)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.calcite.rel.RelNode
convert(org.apache.calcite.rel.RelNode rel)
boolean
isGuaranteed()
-
Methods inherited from class org.apache.calcite.rel.convert.ConverterRule
getInTrait, getOutConvention, getOutTrait, getTraitDef, onMatch
-
-
-
-
Constructor Detail
-
AltTraitConverterRule
private AltTraitConverterRule(VolcanoPlannerTraitTest.AltTrait fromTrait, VolcanoPlannerTraitTest.AltTrait toTrait, java.lang.String description)
-
-
Method Detail
-
convert
public org.apache.calcite.rel.RelNode convert(org.apache.calcite.rel.RelNode rel)
- Specified by:
convert
in classorg.apache.calcite.rel.convert.ConverterRule
-
isGuaranteed
public boolean isGuaranteed()
- Overrides:
isGuaranteed
in classorg.apache.calcite.rel.convert.ConverterRule
-
-