Package org.apache.calcite.adapter.spark
Class JdbcToSparkConverterRule
java.lang.Object
org.apache.calcite.plan.RelOptRule
org.apache.calcite.plan.RelRule<ConverterRule.Config>
org.apache.calcite.rel.convert.ConverterRule
org.apache.calcite.adapter.spark.JdbcToSparkConverterRule
Rule to convert a relational expression from
JdbcConvention to
Spark convention.-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.calcite.rel.convert.ConverterRule
ConverterRule.ConfigNested classes/interfaces inherited from class org.apache.calcite.plan.RelRule
RelRule.Done, RelRule.MatchHandler<R extends RelOptRule>, RelRule.OperandBuilder, RelRule.OperandDetailBuilder<R extends RelNode>, RelRule.OperandTransformNested classes/interfaces inherited from class org.apache.calcite.plan.RelOptRule
RelOptRule.ConverterRelOptRuleOperand -
Field Summary
Fields inherited from class org.apache.calcite.rel.convert.ConverterRule
outFields inherited from class org.apache.calcite.plan.RelOptRule
description, operands, relBuilderFactory -
Constructor Summary
ConstructorsModifierConstructorDescriptionJdbcToSparkConverterRule(JdbcConvention out, RelBuilderFactory relBuilderFactory) Deprecated.protectedCalled from the Config. -
Method Summary
Modifier and TypeMethodDescriptionConverts a relational expression to the target trait(s) of this rule.static JdbcToSparkConverterRulecreate(JdbcConvention out) Creates a JdbcToSparkConverterRule.Methods inherited from class org.apache.calcite.rel.convert.ConverterRule
getInTrait, getOutConvention, getOutTrait, getTraitDef, isGuaranteed, onMatchMethods inherited from class org.apache.calcite.plan.RelOptRule
any, convert, convert, convert, convert, convertList, convertOperand, convertOperand, equals, equals, getOperand, getOperands, hashCode, matches, none, operand, operand, operand, operand, operand, operandJ, operandJ, some, toString, unordered
-
Constructor Details
-
JdbcToSparkConverterRule
@Deprecated public JdbcToSparkConverterRule(JdbcConvention out, RelBuilderFactory relBuilderFactory) Deprecated. -
JdbcToSparkConverterRule
Called from the Config.
-
-
Method Details
-
create
Creates a JdbcToSparkConverterRule. -
convert
Description copied from class:ConverterRuleConverts a relational expression to the target trait(s) of this rule.Returns null if conversion is not possible.
- Specified by:
convertin classConverterRule
-