Package org.apache.calcite.plan.volcano
Class TraitConversionTest.RandomSingleTraitRule
- java.lang.Object
-
- org.apache.calcite.plan.RelOptRule
-
- org.apache.calcite.plan.volcano.TraitConversionTest.RandomSingleTraitRule
-
- Enclosing class:
- TraitConversionTest
private static class TraitConversionTest.RandomSingleTraitRule extends org.apache.calcite.plan.RelOptRule
Converts aTraitConversionTest.NoneSingleRel
(none convention, distribution any) toTraitConversionTest.RandomSingleRel
(physical convention, distribution random).
-
-
Constructor Summary
Constructors Constructor Description RandomSingleTraitRule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.calcite.plan.Convention
getOutConvention()
void
onMatch(org.apache.calcite.plan.RelOptRuleCall call)
-
Methods inherited from class org.apache.calcite.plan.RelOptRule
any, convert, convert, convertList, convertOperand, convertOperand, equals, equals, getOperand, getOperands, getOutTrait, hashCode, matches, none, operand, operand, operand, operand, operand, operandJ, operandJ, some, toString, unordered
-
-
-
-
Method Detail
-
getOutConvention
public org.apache.calcite.plan.Convention getOutConvention()
- Overrides:
getOutConvention
in classorg.apache.calcite.plan.RelOptRule
-
onMatch
public void onMatch(org.apache.calcite.plan.RelOptRuleCall call)
- Specified by:
onMatch
in classorg.apache.calcite.plan.RelOptRule
-
-