| Package | Description |
|---|---|
| org.apache.calcite.plan |
Defines interfaces for constructing rule-based optimizers of
relational expressions.
|
| org.apache.calcite.rel.rules |
Provides a core set of planner rules.
|
| org.apache.calcite.rex |
Provides a language for representing row-expressions.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
RelOptUtil.InputFinder
Visitor which builds a bitmap of the inputs used by an expression.
|
static class |
RelOptUtil.InputReferencedVisitor
Shuttle that finds the set of inputs that are used.
|
static class |
RelOptUtil.RexInputConverter
Walks an expression tree, converting the index of RexInputRefs based on
some adjustment factor.
|
static class |
RelOptUtil.VariableUsedVisitor
Visitor that finds all variables used in an expression.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ReduceDecimalsRule.DecimalShuttle
A shuttle which converts decimal expressions to expressions based on
longs.
|
| Modifier and Type | Class and Description |
|---|---|
class |
RexChecker
Visitor which checks the validity of a
RexNode expression. |
class |
RexPermutationShuttle
Visitor which replaces
RexLocalRef objects after the expressions in a
RexProgram have been reordered. |
class |
RexPermuteInputsShuttle
Shuttle which applies a permutation to its input fields.
|
class |
RexShuttle
Passes over a row-expression, calling a handler method for each node,
appropriate to the type of the node.
|
static class |
RexUtil.FieldAccessFinder
Visitor which builds a bitmap of the inputs used by an expression.
|
class |
RexVisitorImpl<R>
Default implementation of
RexVisitor, which visits each node but does
nothing while it's there. |
| Modifier and Type | Method and Description |
|---|---|
<R> R |
RexDynamicParam.accept(RexVisitor<R> visitor) |
<R> R |
RexFieldAccess.accept(RexVisitor<R> visitor) |
<R> R |
RexLocalRef.accept(RexVisitor<R> visitor) |
<R> R |
RexRangeRef.accept(RexVisitor<R> visitor) |
<R> RexWindowBound |
RexWindowBound.accept(RexVisitor<R> visitor)
Transforms the bound via
RexVisitor. |
abstract <R> R |
RexNode.accept(RexVisitor<R> visitor)
Accepts a visitor, dispatching to the right overloaded
visitXxx method. |
<R> R |
RexCorrelVariable.accept(RexVisitor<R> visitor) |
<R> R |
RexLiteral.accept(RexVisitor<R> visitor) |
<R> R |
RexCall.accept(RexVisitor<R> visitor) |
<R> R |
RexOver.accept(RexVisitor<R> visitor) |
<R> R |
RexInputRef.accept(RexVisitor<R> visitor) |
static <T extends RexNode> |
RexUtil.apply(RexVisitor<T> shuttle,
T[] exprs)
Applies a shuttle to an array of expressions.
|
static void |
RexUtil.apply(RexVisitor<Void> visitor,
List<? extends RexNode> exprs,
RexNode expr)
Applies a visitor to a list of expressions and, if specified, a single
expression.
|
static void |
RexUtil.apply(RexVisitor<Void> visitor,
RexNode[] exprs,
RexNode expr)
Applies a visitor to an array of expressions and, if specified, a single
expression.
|
static boolean |
RexVisitorImpl.visitArrayAnd(RexVisitor<Boolean> visitor,
List<RexNode> exprs)
Visits an array of expressions, returning the logical 'and' of their
results.
|
static boolean |
RexVisitorImpl.visitArrayOr(RexVisitor<Boolean> visitor,
List<RexNode> exprs)
Visits an array of expressions, returning the logical 'or' of their
results.
|
Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.