Package org.apache.calcite.plan.volcano
Class TraitConversionTest.SimpleDistribution
- java.lang.Object
-
- org.apache.calcite.plan.volcano.TraitConversionTest.SimpleDistribution
-
- All Implemented Interfaces:
org.apache.calcite.plan.RelTrait
- Enclosing class:
- TraitConversionTest
private static class TraitConversionTest.SimpleDistribution extends java.lang.Object implements org.apache.calcite.plan.RelTrait
Dummy distribution for test (simplified version of RelDistribution).
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
name
-
Constructor Summary
Constructors Constructor Description SimpleDistribution(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.calcite.plan.RelTraitDef
getTraitDef()
void
register(org.apache.calcite.plan.RelOptPlanner planner)
boolean
satisfies(org.apache.calcite.plan.RelTrait trait)
java.lang.String
toString()
-
-
-
Method Detail
-
toString
public java.lang.String toString()
- Specified by:
toString
in interfaceorg.apache.calcite.plan.RelTrait
- Overrides:
toString
in classjava.lang.Object
-
getTraitDef
public org.apache.calcite.plan.RelTraitDef getTraitDef()
- Specified by:
getTraitDef
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
-
register
public void register(org.apache.calcite.plan.RelOptPlanner planner)
- Specified by:
register
in interfaceorg.apache.calcite.plan.RelTrait
-
-