public abstract class HivePointLookupOptimizerRule
extends org.apache.calcite.plan.RelOptRule
(c) IN ( v1, v2, ...) <=> c1=v1 || c1=v2 || ...If c is struct; then c=v1 is a group of anded equations. Similarly
v1 <= c1 and c1 <= v2is rewritten to
c1 between v1 and v2
| Modifier and Type | Class and Description |
|---|---|
static class |
HivePointLookupOptimizerRule.FilterCondition
Rule adapter to apply the transformation to Filter conditions.
|
static class |
HivePointLookupOptimizerRule.JoinCondition
Rule adapter to apply the transformation to Join conditions.
|
static class |
HivePointLookupOptimizerRule.ProjectionExpressions
Rule adapter to apply the transformation to Projections.
|
protected static class |
HivePointLookupOptimizerRule.RexMergeInClause
Merge IN clauses, when possible.
|
protected static class |
HivePointLookupOptimizerRule.RexTransformIntoBetween
Transforms inequality candidates into [NOT] BETWEEN calls.
|
protected static class |
HivePointLookupOptimizerRule.RexTransformIntoInClause
Transforms OR clauses into IN clauses, when possible.
|
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
LOG |
protected int |
minNumORClauses |
| Modifier | Constructor and Description |
|---|---|
protected |
HivePointLookupOptimizerRule(org.apache.calcite.plan.RelOptRuleOperand operand,
int minNumORClauses,
String description) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.calcite.rex.RexNode |
analyzeRexNode(org.apache.calcite.rex.RexBuilder rexBuilder,
org.apache.calcite.rex.RexNode condition) |
any, convert, convert, convertList, convertOperand, convertOperand, equals, equals, getOperand, getOperands, getOutConvention, getOutTrait, hashCode, matches, none, onMatch, operand, operand, operand, operand, operand, operandJ, operandJ, some, toString, unorderedprotected static final org.slf4j.Logger LOG
protected final int minNumORClauses
protected HivePointLookupOptimizerRule(org.apache.calcite.plan.RelOptRuleOperand operand,
int minNumORClauses,
String description)
Copyright © 2024 The Apache Software Foundation. All rights reserved.