Class DrillDistributionTrait
java.lang.Object
org.apache.drill.exec.planner.physical.DrillDistributionTrait
- All Implemented Interfaces:
org.apache.calcite.plan.RelTrait
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static enum
static class
Stores distribution field index and field name to be used in exchange operators. -
Field Summary
Modifier and TypeFieldDescriptionstatic DrillDistributionTrait
static DrillDistributionTrait
static DrillDistributionTrait
static DrillDistributionTrait
-
Constructor Summary
ConstructorDescriptionDrillDistributionTrait
(DrillDistributionTrait.DistributionType type, List<DrillDistributionTrait.DistributionField> fields) DrillDistributionTrait
(DrillDistributionTrait.DistributionType type, List<DrillDistributionTrait.DistributionField> fields, PartitionFunction partitionFunction) -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.calcite.plan.RelTrait
apply, isDefault
-
Field Details
-
SINGLETON
-
RANDOM_DISTRIBUTED
-
ANY
-
DEFAULT
-
-
Constructor Details
-
DrillDistributionTrait
-
DrillDistributionTrait
public DrillDistributionTrait(DrillDistributionTrait.DistributionType type, List<DrillDistributionTrait.DistributionField> fields) -
DrillDistributionTrait
public DrillDistributionTrait(DrillDistributionTrait.DistributionType type, List<DrillDistributionTrait.DistributionField> fields, PartitionFunction partitionFunction)
-
-
Method Details
-
register
public void register(org.apache.calcite.plan.RelOptPlanner planner) - Specified by:
register
in interfaceorg.apache.calcite.plan.RelTrait
-
satisfies
public boolean satisfies(org.apache.calcite.plan.RelTrait trait) - Specified by:
satisfies
in interfaceorg.apache.calcite.plan.RelTrait
-
getTraitDef
- Specified by:
getTraitDef
in interfaceorg.apache.calcite.plan.RelTrait
-
getType
-
getFields
-
getPartitionFunction
-
hashCode
public int hashCode() -
equals
-
toString
-