| Package | Description |
|---|---|
| org.apache.calcite.adapter.elasticsearch |
Base classes for a query provider based on an Elasticsearch DB.
|
| org.apache.calcite.plan |
Defines interfaces for constructing rule-based optimizers of
relational expressions.
|
| org.apache.calcite.rel.core |
Defines core relational expressions.
|
| org.apache.calcite.rel.metadata |
Defines metadata interfaces and utilities for 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.
|
| org.apache.calcite.sql2rel |
Translates a SQL parse tree to relational expression.
|
| Modifier and Type | Class and Description |
|---|---|
(package private) static class |
ElasticsearchRules.RexToElasticsearchTranslator
Translator from
RexNode to strings in Elasticsearch's expression
language. |
class |
MapProjectionFieldVisitor
Visitor that extracts the actual field name from an item expression.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
RelOptUtil.InputFinder
Visitor which builds a bitmap of the inputs used by an expression.
|
private static class |
RexImplicationChecker.InputUsageFinder
Visitor that builds a usage map of inputs used by an expression.
|
| Modifier and Type | Class and Description |
|---|---|
private static class |
Match.AggregateFinder
Find aggregate functions in operands.
|
private static class |
Match.PatternVarFinder
Visits the operands of an aggregate call to retrieve relevant pattern
variables.
|
| Modifier and Type | Class and Description |
|---|---|
(package private) class |
RelMdPredicates.JoinConditionBasedPredicateInference.EquivalenceFinder
Find expressions of the form 'col_x = col_y'.
|
private static class |
RelMdUtil.CardOfProjExpr
Visitor that walks over a scalar expression and computes the
cardinality of its result.
|
| Modifier and Type | Class and Description |
|---|---|
private static class |
CalcRelSplitter.HighestUsageFinder
Builds an array of the highest level which contains an expression which
uses each expression as an input.
|
private static class |
CalcRelSplitter.ImplementTester
Visitor which returns whether an expression can be implemented in a given
type of relational expression.
|
private static class |
CalcRelSplitter.MaxInputFinder
Finds the highest level used by any of the inputs of a given expression.
|
private static class |
DateRangeRules.ExtractFinder
Visitor that searches for calls to
EXTRACT, FLOOR or
CEIL, building a list of distinct time units. |
private class |
JoinToMultiJoinRule.InputReferenceCounter
Visitor that keeps a reference count of the inputs used by an expression.
|
private class |
PushProjector.InputSpecialOpFinder
Visitor which builds a bitmap of the inputs used by an expressions, as
well as locating expressions corresponding to special operators.
|
protected static class |
ReduceExpressionsRule.ReducibleExprLocator
Helper class used to locate expressions that either can be reduced to
literals or contain redundant casts.
|
| Modifier and Type | Class and Description |
|---|---|
class |
RexChecker
Visitor which checks the validity of a
RexNode expression. |
private static class |
RexMultisetUtil.RexCallMultisetOperatorCounter
A RexShuttle that traverse all RexNode and counts total number of
RexCalls traversed and number of multiset calls traversed.
|
private static class |
RexOver.Finder
|
(package private) static class |
RexProgram.Checker
Visitor which walks over a program and checks validity.
|
private class |
RexProgram.Marshaller
Given an expression in a program, creates a clone of the expression with
sub-expressions (represented by
RexLocalRefs) fully expanded. |
private class |
RexProgram.ReferenceCounter
Visitor which marks which expressions are used.
|
private static class |
RexUtil.CorrelationFinder
Visitor that throws
Util.FoundOne if
applied to an expression that contains a RexCorrelVariable. |
private static class |
RexUtil.ExpressionNormalizer
Walks over expressions and builds a bank of common sub-expressions.
|
static class |
RexUtil.FieldAccessFinder
Visitor which builds a bitmap of the inputs used by an expression.
|
private static class |
RexUtil.ForwardRefFinder
Walks over an expression and throws an exception if it finds an
RexInputRef with an ordinal beyond the number of fields in the
input row type, or a RexLocalRef with ordinal greater than that set
using RexUtil.ForwardRefFinder.setLimit(int). |
static class |
RexUtil.SubQueryFinder
Visitor that throws
Util.FoundOne if
applied to an expression that contains a RexSubQuery. |
| Modifier and Type | Method and Description |
|---|---|
private RexVisitorImpl<Void> |
RelDecorrelator.CorelMapBuilder.rexVisitor(RelNode rel) |
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.