Class EnumerableValuesRule
- java.lang.Object
-
- org.apache.calcite.plan.RelOptRule
-
- org.apache.calcite.rel.convert.ConverterRule
-
- org.apache.calcite.adapter.enumerable.EnumerableValuesRule
-
public class EnumerableValuesRule extends ConverterRule
Planner rule that converts aLogicalValues
relational expressionenumerable calling convention
.
-
-
Field Summary
-
Fields inherited from class org.apache.calcite.plan.RelOptRule
description, operands, relBuilderFactory
-
-
Constructor Summary
Constructors Constructor Description EnumerableValuesRule(RelBuilderFactory relBuilderFactory)
Creates an EnumerableValuesRule.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RelNode
convert(RelNode rel)
Converts a relational expression to the target trait(s) of this rule.-
Methods inherited from class org.apache.calcite.rel.convert.ConverterRule
getInTrait, getOutConvention, getOutTrait, getTraitDef, isGuaranteed, onMatch
-
Methods inherited from class org.apache.calcite.plan.RelOptRule
any, convert, convert, convertList, convertOperand, convertOperand, equals, equals, getOperand, getOperands, hashCode, matches, none, operand, operand, operand, operand, operand, operandJ, operandJ, some, toString, unordered
-
-
-
-
Constructor Detail
-
EnumerableValuesRule
public EnumerableValuesRule(RelBuilderFactory relBuilderFactory)
Creates an EnumerableValuesRule.- Parameters:
relBuilderFactory
- Builder for relational expressions
-
-
Method Detail
-
convert
public RelNode convert(RelNode rel)
Description copied from class:ConverterRule
Converts a relational expression to the target trait(s) of this rule.Returns null if conversion is not possible.
- Specified by:
convert
in classConverterRule
-
-