Class DrillDistributionTraitDef
java.lang.Object
org.apache.calcite.plan.RelTraitDef<DrillDistributionTrait>
org.apache.drill.exec.planner.physical.DrillDistributionTraitDef
public class DrillDistributionTraitDef
extends org.apache.calcite.plan.RelTraitDef<DrillDistributionTrait>
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canConvert
(org.apache.calcite.plan.RelOptPlanner planner, DrillDistributionTrait fromTrait, DrillDistributionTrait toTrait) org.apache.calcite.rel.RelNode
convert
(org.apache.calcite.plan.RelOptPlanner planner, org.apache.calcite.rel.RelNode rel, DrillDistributionTrait toDist, boolean allowInfiniteCostConverters) Methods inherited from class org.apache.calcite.plan.RelTraitDef
canonize, deregisterConverterRule, multiple, registerConverterRule
-
Field Details
-
INSTANCE
-
-
Method Details
-
canConvert
public boolean canConvert(org.apache.calcite.plan.RelOptPlanner planner, DrillDistributionTrait fromTrait, DrillDistributionTrait toTrait) - Specified by:
canConvert
in classorg.apache.calcite.plan.RelTraitDef<DrillDistributionTrait>
-
getTraitClass
- Specified by:
getTraitClass
in classorg.apache.calcite.plan.RelTraitDef<DrillDistributionTrait>
-
getDefault
- Specified by:
getDefault
in classorg.apache.calcite.plan.RelTraitDef<DrillDistributionTrait>
-
getSimpleName
- Specified by:
getSimpleName
in classorg.apache.calcite.plan.RelTraitDef<DrillDistributionTrait>
-
convert
public org.apache.calcite.rel.RelNode convert(org.apache.calcite.plan.RelOptPlanner planner, org.apache.calcite.rel.RelNode rel, DrillDistributionTrait toDist, boolean allowInfiniteCostConverters) - Specified by:
convert
in classorg.apache.calcite.plan.RelTraitDef<DrillDistributionTrait>
-