public class DruidUnionDataSourceRule
extends org.apache.calcite.plan.RelOptRule
DruidUnionDataSourceRel from various DruidQueryRel inputs that represent simple
table scans.| Constructor and Description |
|---|
DruidUnionDataSourceRule(PlannerContext plannerContext) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isCompatible(org.apache.calcite.rel.core.Union unionRel,
DruidRel<?> first,
DruidRel<?> second,
PlannerContext plannerContext) |
boolean |
matches(org.apache.calcite.plan.RelOptRuleCall call) |
void |
onMatch(org.apache.calcite.plan.RelOptRuleCall call) |
any, convert, convert, convertList, convertOperand, convertOperand, equals, equals, getOperand, getOperands, getOutConvention, getOutTrait, hashCode, none, operand, operand, operand, operand, operand, operandJ, operandJ, some, toString, unorderedpublic DruidUnionDataSourceRule(PlannerContext plannerContext)
public boolean matches(org.apache.calcite.plan.RelOptRuleCall call)
matches in class org.apache.calcite.plan.RelOptRulepublic void onMatch(org.apache.calcite.plan.RelOptRuleCall call)
onMatch in class org.apache.calcite.plan.RelOptRulepublic static boolean isCompatible(org.apache.calcite.rel.core.Union unionRel,
DruidRel<?> first,
DruidRel<?> second,
@Nullable
PlannerContext plannerContext)
Copyright © 2011–2022 The Apache Software Foundation. All rights reserved.