Package org.apache.calcite.sql.validate
package org.apache.calcite.sql.validate
SQL validation.
-
ClassDescriptionAn extension to the
SqlValidatorScope
interface which indicates that the scope is aggregating.Scope for resolving identifiers within a SELECT statement that has a GROUP BY clause.Information about an aggregating scope that can only be determined after validation has occurred.Namespace for anAS t(c1, c2, ...)
clause.Namespace for COLLECT and TABLE constructs.Thrown when an object, such as a view, is found to have a cylic definition.An implementation ofSqlValidatorNamespace
that delegates all methods to an underlying object.A scope which delegates all requests to its parent scope.Implementation ofSqlValidatorCatalogReader
that passes all calls to a parent catalog reader.ImplementsSqlValidatorTable
by delegating to a parent table.Represents the name-resolution context for expressions in an GROUP BY clause.Namespace whose contents are defined by the type of anidentifier
.The name-resolution context for expression inside a JOIN clause.Namespace forlambda expression
.Abstract base for a scope which is defined by a list of child namespaces and which inherits from a parent scope.Namespace for aMATCH_RECOGNIZE
clause.Scope for expressions in aMATCH_RECOGNIZE
clause.Scope for resolving identifiers within a SELECT item that is annotated "AS MEASURE".Represents the name-resolution context for expressions in an ORDER BY clause.The name-resolution scope of a OVER clause.A scope which contains nothing besides a few parameters.Namespace for aPIVOT
clause.Scope for expressions in aPIVOT
clause.Namespace whose contents are defined by the result of a call to a user-defined procedure.Namespace offered by a sub-query.The name-resolution scope of a SELECT clause.Extension toSqlValidatorTable
with extra, optional metadata.Namespace based upon a set operation (UNION, INTERSECT, EXCEPT).Abstract base class for implementingSqlConformance
.Enumeration of valid SQL compatibility modes.Enumeration of built-in SQL compatibility modes.Implementation ofSqlConformance
that delegates all methods to another object.An implementation ofSqlMoniker
that encapsulates the normalized name information of aSqlIdentifier
.Scope for aLAMBDA EXPRESSION
.Relational or streaming.An interface of an object identifier that represents a SqlIdentifier.A generic implementation ofSqlMoniker
.An enumeration of moniker types.Enumeration of types of monotonicity.Checks whether two names are the same according to a case-sensitivity policy.Helpers forSqlNameMatcher
.This class provides non-nullable accessors for common getters.Fully-qualified identifier.Refinement toSqlShuttle
which maintains a stack of scopes.User-defined aggregate function.User-defined scalar function.User-defined table function.User-defined table macro.Validates the parse tree of a SQL statement, and provides semantic information about the parse tree.Interface to define the configuration for a SqlValidator.Supplies catalog information forSqlValidator
.Exception thrown while validating a SQL statement.Default implementation ofSqlValidator
.Common base class for DML statement namespaces.Utility object used to maintain information about the parameters in a function call.Information about an identifier in a particular scope.Validation status.A namespace describes the relation returned by a section of a SQL query.Name-resolution scope.A path that has no steps.A sequence of steps by which an identifier was resolved.A match found when looking up a name.Default implementation ofSqlValidatorScope.Resolved
.A step in resolving an identifier.Supplies aSqlValidator
with the metadata for a table.Utility methods related to validation.Deprecated.Flattens any FILTER, WITHIN DISTINCT, WITHIN GROUP surrounding a call to an aggregate function.Suggests candidates for unique names, given the number of attempts so far and the number of expressions in the project list.ExtendsSqlValidator
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).ASqlWithItemTableRef
is a node created during validation for recursive queries which represents a table reference in aWITH RECURSIVE
clause.Namespace for a table constructorVALUES (expr, expr, ...)
.Namespace for anUNPIVOT
clause.Scope for expressions in anUNPIVOT
clause.Namespace forWITH
clause.