Package de.calamanari.adl.sql.config
package de.calamanari.adl.sql.config
-
ClassDescriptionAbstractTableBuilder<T extends AbstractTableBuilder<T>>Implementation backing the fluent configuration builders for column and tables.Interface to for columns, introduced to handle
DataColumns andFilterColumns in a common way.ArgColumnAssignments assign arguments to columns.AnAutoMappingPolicyderives the target column assignment for a given argName by parsing or mapping the given argName.ACompositeAutoMappingPolicyallows combining a list of policies into a common policy that can apply different rules or patterns to determine the column assignment for a given argName.This class contains the interfaces for the fluent builder flows for creating column and table configurations.Fluent API to build aDataColumnFluent API to build aDataColumnFluent API to build aDataColumnFluent API to build aDataColumnFluent API to build aMultiTableConfigFluent API to build aMultiTableConfigFluent API to build aMultiTableConfigFluent API to build aMultiTableConfigFluent API to build aMultiTableConfigFluent API to build aMultiTableConfigFluent API to build aMultiTableConfigFluent API to build aMultiTableConfigFluent API to build aMultiTableConfigFluent API to build aMultiTableConfigFluent API to build aMultiTableConfigFluent API to build aSingleTableConfigFluent API to build aSingleTableConfigFluent API to build aSingleTableConfigFluent API to build aSingleTableConfigFluent API to build aSingleTableConfigFluent API to build aSingleTableConfigFluent API to build aSingleTableConfigFluent API to build aSingleTableConfigSet of utilities, mainly for validation to avoid duplication.TheDataBindingcontains all the meta information about the underlying store and the mapping to the logical argNames.ADataColumndescribes the characteristics of a table colum in a database.A concreteDataTableConfigmaps columns to argNames.TheDefaultAutoMappingPolicymaps arguments to columns with a template-based approach and an extractor operator.Functional interface to ensure this part of the configuration remains serializableThe implementations in this enumerations cover the CONTAINS translation (typically SQL LIKE) for a couple of databases.This implementation is for testing and debugging, it returns a dummy table name and the argNameAFilterColumndefines an extra filter condition to be applied to a query, so the scope of the original query will be narrowed.AMultiTableConfigis composed ofSingleTableConfigs to map argNames uniquely to columns of multiple tables.ASingleTableConfigdescribes the mappings of argNames to columns of one particular table.A concreteSqlContainsPolicyformats an SQL LIKE instruction (or anything similar) to realize a CONTAINS condition.Tagging interface to ensure functions are serializableTagging interface to ensure functions are serializableAnSqlContainsPolicyDecoratorallows to quickly create a new policy by decorating a given one with a different behavioral aspect.This interface defines a few methods that returns extra infos (hints) about a table.TheTableNatureis a crucial information for the query building process.