| Package | Description |
|---|---|
| org.apache.calcite.sql |
Provides a SQL parser and object model.
|
| org.apache.calcite.sql.fun |
Defines the set of standard SQL row-level functions and
operators.
|
| org.apache.calcite.sql.util |
Utility classes for the SQL object model, parsing, and validation.
|
| org.apache.calcite.sql.validate |
SQL validation.
|
| org.apache.calcite.sql2rel |
Translates a SQL parse tree to relational expression.
|
| org.apache.calcite.util |
Provides utility classes.
|
| Modifier and Type | Class and Description |
|---|---|
private static class |
SqlUtil.Genealogist
Walks over a
SqlNode tree and returns the
ancestry stack when it finds a given node. |
| Modifier and Type | Class and Description |
|---|---|
private static class |
SqlBetweenOperator.AndFinder
Finds an AND operator in an expression.
|
| Modifier and Type | Class and Description |
|---|---|
class |
SqlShuttle
Basic implementation of
SqlVisitor which returns each leaf node
unchanged. |
| Modifier and Type | Class and Description |
|---|---|
(package private) class |
AggChecker
Visitor which throws an exception if any component of the expression is not a
group expression.
|
(package private) class |
AggFinder
Visitor that looks for an aggregate function inside a tree of
SqlNode objects and throws Util.FoundOne when it finds
one. |
(package private) static class |
AggFinder.AggIterable
Iterates over all aggregates.
|
(package private) class |
AggVisitor
Visitor that can find aggregate and windowed aggregate functions.
|
class |
SqlScopedShuttle
Refinement to
SqlShuttle which maintains a stack of scopes. |
private static class |
SqlValidatorImpl.Expander
Converts an expression into canonical form by fully-qualifying any
identifiers.
|
(package private) static class |
SqlValidatorImpl.ExtendedExpander
Shuttle which walks over an expression in the GROUP BY/HAVING clause, replacing
usages of aliases or ordinals with the underlying expression.
|
private static class |
SqlValidatorImpl.NavigationExpander
Shuttle that expands navigation expressions in a MATCH_RECOGNIZE clause.
|
private static class |
SqlValidatorImpl.NavigationModifier
Modify the nodes in navigation function
such as FIRST, LAST, PREV AND NEXT.
|
private static class |
SqlValidatorImpl.NavigationReplacer
Shuttle that replaces
A as A.price > PREV(B.price) with
PREV(A.price, 0) > LAST(B.price, 0). |
(package private) class |
SqlValidatorImpl.OrderExpressionExpander
Shuttle which walks over an expression in the ORDER BY clause, replacing
usages of aliases with the underlying expression.
|
private class |
SqlValidatorImpl.PatternValidator
Within one navigation function, the pattern var should be same
|
static class |
SqlValidatorUtil.DeepCopier
Deprecated.
|
| Modifier and Type | Class and Description |
|---|---|
private static class |
SqlToRelConverter.AggregateFinder
Visitor that collects all aggregate functions in a
SqlNode tree. |
| Modifier and Type | Class and Description |
|---|---|
static class |
Util.OverFinder
Visitor which looks for an OVER clause inside a tree of
SqlNode objects. |
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.