Package de.calamanari.adl.sql.cnv
package de.calamanari.adl.sql.cnv
-
ClassDescriptionBase class for creating SQL-converters.During a conversion run an
AliasHelperkeeps track of all the created aliases.AColumnConditioncarries the meta data and the prepared parameters related to a single column, which can either be aDataColumn(means a column related to an argName) or aFilterColumnto be tested against a value.Defines the type of the parameter set for a column, information for later expression setupConversionDirectives areFlags that influence details of the query generation process.Enumeration with findings that can influence SQL expression generationTheCoreExpressionSqlHelperprovides a couple of utilities to support the conversion of aCoreExpressioninto an SQL-expression (e.g. construction of IN-clauses)This avoids that the helper holds a reference to the context while the context knows the helper.CoreExpressionStatsis a report with meta information about an expression to be converted.TheDefaultMatchConditionFactoryprovides integrated caching, so the exact same comparison or (NOT) IN-clause won't be prepared twice which also reduces the number of different parameters.Standard implementation for transformingCoreExpressions into SQL.AnExpressionAliasrepresents what we know (information gathered while building the query) about an alias query (WITH) for certain detail expression.AMatchConditionis an instruction to create an SQL term that either ...AMatchConditionFactoryabstracts the preparation step of aMatchCondition.Implementation of a resettableSqlConversionProcessContext.A concreteSqlAugmentationListenerobserves the creation of an SQL-script with the opportunity to apply changes/extensions.TheSqlConversionContextis a container holding the information for a particular level of the expression to be converted while visiting theCoreExpression's DAG.This interface provides access to the variables, flags and the binding in the context of the current conversion.
It also allows the registration of new parameters created during a conversion run.