org.eigenbase.relopt.volcano
Class VolcanoPlannerTraitTest.AltTraitConverterRule
java.lang.Object
org.eigenbase.relopt.RelOptRule
org.eigenbase.rel.convert.ConverterRule
org.eigenbase.relopt.volcano.VolcanoPlannerTraitTest.AltTraitConverterRule
- Enclosing class:
- VolcanoPlannerTraitTest
private static class VolcanoPlannerTraitTest.AltTraitConverterRule
- extends ConverterRule
toTrait
private final RelTrait toTrait
VolcanoPlannerTraitTest.AltTraitConverterRule
private VolcanoPlannerTraitTest.AltTraitConverterRule(VolcanoPlannerTraitTest.AltTrait fromTrait,
VolcanoPlannerTraitTest.AltTrait toTrait,
String description)
convert
public RelNode convert(RelNode rel)
- Specified by:
convert
in class ConverterRule
isGuaranteed
public boolean isGuaranteed()
- Description copied from class:
ConverterRule
- Returns true if this rule can convert any relational expression
of the input convention.
The union-to-java converter, for example, is not guaranteed, because
it only works on unions.
- Overrides:
isGuaranteed
in class ConverterRule