Package org.apache.calcite.adapter.spark
Class SparkRules.EnumerableToSparkConverterRule
- java.lang.Object
-
- org.apache.calcite.plan.RelOptRule
-
- org.apache.calcite.rel.convert.ConverterRule
-
- org.apache.calcite.adapter.spark.SparkRules.EnumerableToSparkConverterRule
-
- Enclosing class:
- SparkRules
static class SparkRules.EnumerableToSparkConverterRule extends ConverterRule
Planner rule that converts from enumerable to Spark convention.
-
-
Field Summary
Fields Modifier and Type Field Description static SparkRules.EnumerableToSparkConverterRule
INSTANCE
-
Fields inherited from class org.apache.calcite.plan.RelOptRule
description, operands, relBuilderFactory
-
-
Constructor Summary
Constructors Modifier Constructor Description private
EnumerableToSparkConverterRule()
-
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
-
-
-
-
Field Detail
-
INSTANCE
public static final SparkRules.EnumerableToSparkConverterRule INSTANCE
-
-
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
-
-