Package org.apache.calcite.plan.volcano
Class CollationConversionTest.TestRelCollationTraitDef
- java.lang.Object
-
- org.apache.calcite.plan.RelTraitDef<org.apache.calcite.rel.RelCollation>
-
- org.apache.calcite.plan.volcano.CollationConversionTest.TestRelCollationTraitDef
-
- Enclosing class:
- CollationConversionTest
private static class CollationConversionTest.TestRelCollationTraitDef extends org.apache.calcite.plan.RelTraitDef<org.apache.calcite.rel.RelCollation>
Dummy collation trait def implementation for the test (usesCollationConversionTest.PhysicalSort
below).
-
-
Constructor Summary
Constructors Modifier Constructor Description private
TestRelCollationTraitDef()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canConvert(org.apache.calcite.plan.RelOptPlanner planner, org.apache.calcite.rel.RelCollation fromTrait, org.apache.calcite.rel.RelCollation toTrait)
org.apache.calcite.rel.RelNode
convert(org.apache.calcite.plan.RelOptPlanner planner, org.apache.calcite.rel.RelNode rel, org.apache.calcite.rel.RelCollation toCollation, boolean allowInfiniteCostConverters)
org.apache.calcite.rel.RelCollation
getDefault()
java.lang.String
getSimpleName()
java.lang.Class<org.apache.calcite.rel.RelCollation>
getTraitClass()
boolean
multiple()
-
-
-
Method Detail
-
getTraitClass
public java.lang.Class<org.apache.calcite.rel.RelCollation> getTraitClass()
- Specified by:
getTraitClass
in classorg.apache.calcite.plan.RelTraitDef<org.apache.calcite.rel.RelCollation>
-
getSimpleName
public java.lang.String getSimpleName()
- Specified by:
getSimpleName
in classorg.apache.calcite.plan.RelTraitDef<org.apache.calcite.rel.RelCollation>
-
multiple
public boolean multiple()
- Overrides:
multiple
in classorg.apache.calcite.plan.RelTraitDef<org.apache.calcite.rel.RelCollation>
-
getDefault
public org.apache.calcite.rel.RelCollation getDefault()
- Specified by:
getDefault
in classorg.apache.calcite.plan.RelTraitDef<org.apache.calcite.rel.RelCollation>
-
convert
public org.apache.calcite.rel.RelNode convert(org.apache.calcite.plan.RelOptPlanner planner, org.apache.calcite.rel.RelNode rel, org.apache.calcite.rel.RelCollation toCollation, boolean allowInfiniteCostConverters)
- Specified by:
convert
in classorg.apache.calcite.plan.RelTraitDef<org.apache.calcite.rel.RelCollation>
-
canConvert
public boolean canConvert(org.apache.calcite.plan.RelOptPlanner planner, org.apache.calcite.rel.RelCollation fromTrait, org.apache.calcite.rel.RelCollation toTrait)
- Specified by:
canConvert
in classorg.apache.calcite.plan.RelTraitDef<org.apache.calcite.rel.RelCollation>
-
-