Interface | Description |
---|---|
AggregatingScope |
An extension to the
SqlValidatorScope interface which indicates that
the scope is aggregating. |
SqlConformance |
Enumeration of valid SQL compatibility modes.
|
SqlMoniker |
An interface of an object identifier that represents a SqlIdentifier
|
SqlNameMatcher |
Checks whether two names are the same according to a case-sensitivity policy.
|
SqlValidator |
Validates the parse tree of a SQL statement, and provides semantic
information about the parse tree.
|
SqlValidatorCatalogReader |
Supplies catalog information for
SqlValidator . |
SqlValidatorNamespace |
A namespace describes the relation returned by a section of a SQL query.
|
SqlValidatorScope |
Name-resolution scope.
|
SqlValidatorScope.Resolved | |
SqlValidatorTable |
Supplies a
SqlValidator with the metadata for a table. |
SqlValidatorUtil.Suggester |
Suggests candidates for unique names, given the number of attempts so far
and the number of expressions in the project list.
|
SqlValidatorWithHints |
Extends
SqlValidator to allow discovery of useful data such as fully
qualified names of sql objects, alternative valid sql objects that can be
used in the SQL statement (dubbed as hints) |
Class | Description |
---|---|
AbstractNamespace |
Abstract implementation of
SqlValidatorNamespace . |
AggChecker |
Visitor which throws an exception if any component of the expression is not a
group expression.
|
AggFinder |
Visitor that looks for an aggregate function inside a tree of
SqlNode objects and throws Util.FoundOne when it finds
one. |
AggFinder.AggIterable |
Iterates over all aggregates.
|
AggregatingSelectScope |
Scope for resolving identifiers within a SELECT statement that has a
GROUP BY clause.
|
AggVisitor |
Visitor that can find aggregate and windowed aggregate functions.
|
AliasNamespace |
Namespace for an
AS t(c1, c2, ...) clause. |
CatalogScope |
Implementation of
SqlValidatorScope that can see all schemas in the
current catalog. |
CollectNamespace |
Namespace for COLLECT and TABLE constructs.
|
CollectScope |
The name-resolution context for expression inside a multiset call.
|
DelegatingNamespace |
An implementation of
SqlValidatorNamespace that delegates all methods
to an underlying object. |
DelegatingScope |
A scope which delegates all requests to its parent scope.
|
DelegatingSqlValidatorCatalogReader |
Implementation of
SqlValidatorCatalogReader that passes
all calls to a parent catalog reader. |
DelegatingSqlValidatorTable |
Implements
SqlValidatorTable by
delegating to a parent table. |
EmptyScope |
Deviant implementation of
SqlValidatorScope for the top of the scope
stack. |
FieldNamespace |
Implementation of
SqlValidatorNamespace for a field of a record. |
GroupByScope |
Represents the name-resolution context for expressions in an GROUP BY clause.
|
IdentifierNamespace |
Namespace whose contents are defined by the type of an
identifier . |
JoinNamespace |
Namespace representing the row type produced by joining two relations.
|
JoinScope |
The name-resolution context for expression inside a JOIN clause.
|
ListScope |
Abstract base for a scope which is defined by a list of child namespaces and
which inherits from a parent scope.
|
MatchRecognizeNamespace |
Namespace for a
MATCH_RECOGNIZE clause. |
MatchRecognizeScope |
Scope for expressions in a
MATCH_RECOGNIZE clause. |
OrderByScope |
Represents the name-resolution context for expressions in an ORDER BY clause.
|
OverScope |
The name-resolution scope of a OVER clause.
|
ParameterNamespace |
Namespace representing the type of a dynamic parameter.
|
ParameterScope |
A scope which contains nothing besides a few parameters.
|
ProcedureNamespace |
Namespace whose contents are defined by the result of a call to a
user-defined procedure.
|
SchemaNamespace |
Namespace based on a schema.
|
ScopeChild |
One of the inputs of a
SqlValidatorScope . |
SelectNamespace |
Namespace offered by a sub-query.
|
SelectScope |
The name-resolution scope of a SELECT clause.
|
SetopNamespace |
Namespace based upon a set operation (UNION, INTERSECT, EXCEPT).
|
SqlAbstractConformance |
Abstract base class for implementing
SqlConformance . |
SqlDelegatingConformance |
Implementation of
SqlConformance that delegates all methods to
another object. |
SqlIdentifierMoniker |
An implementation of
SqlMoniker that encapsulates the normalized name
information of a SqlIdentifier . |
SqlMonikerImpl |
A generic implementation of
SqlMoniker . |
SqlNameMatchers |
Helpers for
SqlNameMatcher . |
SqlNameMatchers.BaseMatcher |
Partial implementation of
SqlNameMatcher . |
SqlNameMatchers.LiberalNameMatcher |
Matcher that remembers the requests that were made of it.
|
SqlQualified |
Fully-qualified identifier.
|
SqlScopedShuttle |
Refinement to
SqlShuttle which maintains a stack of scopes. |
SqlUserDefinedAggFunction |
User-defined aggregate function.
|
SqlUserDefinedFunction |
User-defined scalar function.
|
SqlUserDefinedTableFunction |
User-defined table function.
|
SqlUserDefinedTableMacro |
User-defined table macro.
|
SqlValidatorImpl |
Default implementation of
SqlValidator . |
SqlValidatorImpl.DeleteNamespace |
Namespace for a DELETE statement.
|
SqlValidatorImpl.DmlNamespace |
Common base class for DML statement namespaces.
|
SqlValidatorImpl.Expander |
Converts an expression into canonical form by fully-qualifying any
identifiers.
|
SqlValidatorImpl.ExtendedExpander |
Shuttle which walks over an expression in the GROUP BY/HAVING clause, replacing
usages of aliases or ordinals with the underlying expression.
|
SqlValidatorImpl.FunctionParamInfo |
Utility object used to maintain information about the parameters in a
function call.
|
SqlValidatorImpl.IdInfo |
Information about an identifier in a particular scope.
|
SqlValidatorImpl.InsertNamespace |
Namespace for an INSERT statement.
|
SqlValidatorImpl.MergeNamespace |
Namespace for a MERGE statement.
|
SqlValidatorImpl.NavigationExpander |
Shuttle that expands navigation expressions in a MATCH_RECOGNIZE clause.
|
SqlValidatorImpl.NavigationModifier |
Modify the nodes in navigation function
such as FIRST, LAST, PREV AND NEXT.
|
SqlValidatorImpl.NavigationReplacer |
Shuttle that replaces
A as A.price > PREV(B.price) with
PREV(A.price, 0) > LAST(B.price, 0) . |
SqlValidatorImpl.UpdateNamespace |
Namespace for an UPDATE statement.
|
SqlValidatorScope.EmptyPath |
A path that has no steps.
|
SqlValidatorScope.Path |
A sequence of steps by which an identifier was resolved.
|
SqlValidatorScope.Resolve |
A match found when looking up a name.
|
SqlValidatorScope.ResolvedImpl |
Default implementation of
SqlValidatorScope.Resolved . |
SqlValidatorScope.Step |
A step in resolving an identifier.
|
SqlValidatorUtil |
Utility methods related to validation.
|
SqlValidatorUtil.DeepCopier | Deprecated |
SqlValidatorUtil.GroupAnalyzer |
Builds a list of GROUP BY expressions.
|
TableConstructorNamespace |
Namespace for a table constructor
VALUES (expr, expr, ...) . |
TableNamespace |
Namespace based on a table from the catalog.
|
TableScope |
The name-resolution scope of a LATERAL TABLE clause.
|
UnnestNamespace |
Namespace for UNNEST.
|
WithItemNamespace |
Very similar to
AliasNamespace . |
WithNamespace |
Namespace for
WITH clause. |
WithScope |
Scope providing the objects that are available after evaluating an item
in a WITH clause.
|
Enum | Description |
---|---|
SqlConformanceEnum |
Enumeration of built-in SQL compatibility modes.
|
SqlModality |
Relational or streaming.
|
SqlMonikerType |
An enumeration of moniker types.
|
SqlMonotonicity |
Enumeration of types of monotonicity.
|
SqlValidatorImpl.Status |
Validation status.
|
Exception | Description |
---|---|
CyclicDefinitionException |
Thrown when an object, such as a view, is found to have a cylic
definition.
|
SqlUserDefinedTableMacro.NonLiteralException |
Thrown when a non-literal occurs in an argument to a user-defined
table macro.
|
SqlValidatorException |
Exception thrown while validating a SQL statement.
|
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.