Package org.apache.calcite.sql.validate
package org.apache.calcite.sql.validate
SQL validation.
-
ClassDescriptionAn extension to the
SqlValidatorScopeinterface 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 ofSqlValidatorNamespacethat delegates all methods to an underlying object.A scope which delegates all requests to its parent scope.Implementation ofSqlValidatorCatalogReaderthat passes all calls to a parent catalog reader.ImplementsSqlValidatorTableby delegating to a parent table.Filtering requirements of a query, describing "must-filter" fields and "bypass" fields.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_RECOGNIZEclause.Scope for expressions in aMATCH_RECOGNIZEclause.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 aPIVOTclause.Scope for expressions in aPIVOTclause.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 toSqlValidatorTablewith extra, optional metadata.Namespace based upon a set operation (UNION, INTERSECT, EXCEPT).Abstract base class for implementingSqlConformance.Enumeration of valid SQL compatibility modes.Value describing how to perform lookup for aliases defined in a SELECT list.Enumeration of built-in SQL compatibility modes.Implementation ofSqlConformancethat delegates all methods to another object.An implementation ofSqlMonikerthat 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 toSqlShuttlewhich 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 aSqlValidatorwith 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.ExtendsSqlValidatorto 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).ASqlWithItemTableRefis a node created during validation for recursive queries which represents a table reference in aWITH RECURSIVEclause.Namespace for a table constructorVALUES (expr, expr, ...).Namespace for anUNPIVOTclause.Scope for expressions in anUNPIVOTclause.Namespace forWITHclause.