Uses of Package
org.apache.calcite.sql2rel
-
Packages that use org.apache.calcite.sql2rel Package Description org.apache.calcite.prepare Preparation of queries (parsing, planning and implementation).org.apache.calcite.schema.impl Utilities to help implement Calcite's SPIs.org.apache.calcite.sql.ddl Parse tree for SQL DDL statements.org.apache.calcite.sql.fun Defines the set of standard SQL row-level functions and operators.org.apache.calcite.sql.validate SQL validation.org.apache.calcite.sql2rel Translates a SQL parse tree to relational expression.org.apache.calcite.tools Provides utility classes. -
Classes in org.apache.calcite.sql2rel used by org.apache.calcite.prepare Class Description InitializerContext Provides context forInitializerExpressionFactory
methods.SqlRexConvertletTable Collection ofSqlRexConvertlet
s.SqlToRelConverter SqlToRelConverter.Config Interface to define the configuration for a SqlToRelConverter. -
Classes in org.apache.calcite.sql2rel used by org.apache.calcite.schema.impl Class Description InitializerContext Provides context forInitializerExpressionFactory
methods.InitializerExpressionFactory InitializerExpressionFactory supplies default values for INSERT, UPDATE, and NEW.NullInitializerExpressionFactory An implementation ofInitializerExpressionFactory
that always supplies NULL. -
Classes in org.apache.calcite.sql2rel used by org.apache.calcite.sql.ddl Class Description InitializerExpressionFactory InitializerExpressionFactory supplies default values for INSERT, UPDATE, and NEW. -
Classes in org.apache.calcite.sql2rel used by org.apache.calcite.sql.fun Class Description AuxiliaryConverter Converts an expression for a group window function (e.g. -
Classes in org.apache.calcite.sql2rel used by org.apache.calcite.sql.validate Class Description InitializerContext Provides context forInitializerExpressionFactory
methods. -
Classes in org.apache.calcite.sql2rel used by org.apache.calcite.sql2rel Class Description AuxiliaryConverter Converts an expression for a group window function (e.g.CorrelationReferenceFinder Shuttle that finds references to a givenCorrelationId
within a tree ofRelNode
s.CorrelationReferenceFinder.MyRexVisitor Replaces alternative names of correlation variable to its canonical name.DeduplicateCorrelateVariables Rewrites relations to ensure the same correlation is referenced by the same correlation variable.InitializerContext Provides context forInitializerExpressionFactory
methods.InitializerExpressionFactory InitializerExpressionFactory supplies default values for INSERT, UPDATE, and NEW.ReflectiveConvertletTable Implementation ofSqlRexConvertletTable
which uses reflection to call any method of the formpublic RexNode convertXxx(ConvertletContext, SqlNode)
orpublic RexNode convertXxx(ConvertletContext, SqlOperator, SqlCall)
.RelDecorrelator.CorDef A correlation and a field.RelDecorrelator.CorelMap A map of the locations ofLogicalCorrelate
in a tree ofRelNode
s.RelDecorrelator.CorRef A unique reference to a correlation field.RelDecorrelator.Frame Frame describing the relational expression after decorrelation and where to find the output fields and correlation variables among its output fields.RelFieldTrimmer Transformer that walks over a tree of relational expressions, replacing eachRelNode
with a 'slimmed down' relational expression that projects only the columns required by its consumer.RelFieldTrimmer.TrimResult Result of an attempt to trim columns from a relational expression.RelStructuredTypeFlattener RelStructuredTypeFlattener removes all structured types from a tree of relational expressions.RelStructuredTypeFlattener.RewriteRexShuttle Shuttle that rewrites scalar expressions.RelStructuredTypeFlattener.SelfFlatteningRel Mix-in interface for relational expressions that know how to flatten themselves.SqlNodeToRexConverter SqlRexContext Contains the context necessary for aSqlRexConvertlet
to convert aSqlNode
expression into aRexNode
.SqlRexConvertlet SqlRexConvertletTable Collection ofSqlRexConvertlet
s.SqlToRelConverter SqlToRelConverter.AggConverter Converts expressions to aggregates.SqlToRelConverter.Blackboard Workspace for translating an individual SELECT statement (or sub-SELECT).SqlToRelConverter.Config Interface to define the configuration for a SqlToRelConverter.SqlToRelConverter.ConfigBuilder Builder for aSqlToRelConverter.Config
.SqlToRelConverter.CorrelationUse Use of a row as a correlating variable by a given relational expression.SqlToRelConverter.DeferredLookup Deferred lookup.SqlToRelConverter.LookupContext Context to find a relational expression to a field offset.SqlToRelConverter.SubQuery A sub-query, whether it needs to be translated using 2- or 3-valued logic.StandardConvertletTable Standard implementation ofSqlRexConvertletTable
.SubQueryConverter SubQueryConverter provides the interface for classes that convert sub-queries into equivalent expressions. -
Classes in org.apache.calcite.sql2rel used by org.apache.calcite.tools Class Description SqlRexConvertletTable Collection ofSqlRexConvertlet
s.SqlToRelConverter.Config Interface to define the configuration for a SqlToRelConverter.