public static class JdbcRules.JdbcJoinRule extends JdbcRules.JdbcConverterRule
outdescription, operands, relBuilderFactory| Constructor and Description |
|---|
JdbcJoinRule(JdbcConvention out)
Creates a JdbcJoinRule.
|
| Modifier and Type | Method and Description |
|---|---|
private boolean |
canJoinOnCondition(RexNode node)
Returns whether a condition is supported by
JdbcRules.JdbcJoin. |
RelNode |
convert(Join join,
boolean convertInputTraits)
Converts a
Join into a JdbcJoin. |
RelNode |
convert(RelNode rel)
Converts a relational expression to the target trait(s) of this rule.
|
getInTrait, getOutConvention, getOutTrait, getTraitDef, isGuaranteed, onMatchany, convert, convert, convertList, convertOperand, equals, equals, getOperand, getOperands, hashCode, matches, none, operand, operand, operand, operand, operand, some, toString, unorderedpublic JdbcJoinRule(JdbcConvention out)
public RelNode convert(RelNode rel)
ConverterRuleReturns null if conversion is not possible.
convert in class ConverterRulepublic RelNode convert(Join join, boolean convertInputTraits)
Join into a JdbcJoin.join - Join operator to convertconvertInputTraits - Whether to convert input to join's
JDBC conventionprivate boolean canJoinOnCondition(RexNode node)
JdbcRules.JdbcJoin.
Corresponds to the capabilities of
SqlImplementor.convertConditionToSqlNode(org.apache.calcite.rex.RexNode, org.apache.calcite.rel.rel2sql.SqlImplementor.Context, org.apache.calcite.rel.rel2sql.SqlImplementor.Context, int).
node - ConditionCopyright © 2012–2018 The Apache Software Foundation. All rights reserved.