SQL dialect.
| Modifier and Type | Class and Description |
|---|---|
| public static interface | AggregateSupport.AggregateColumnWriteExpression
The actual write expression for an aggregate column which gives access to the value expressions for the respective selectable mapping. |
| public static interface | AggregateSupport.WriteExpressionRenderer
Contract for rendering the custom write expression that updates a selected set of aggregated columns
within an aggregate column to the value expressions as given by the |
| Modifier and Type | Method and Description |
|---|---|
| public List | aggregateAuxiliaryDatabaseObjects(Namespace namespace, String aggregatePath, ColumnTypeInformation aggregateColumnType, List<Column> aggregatedColumns)
Allows to generate auxiliary database objects for an aggregate type. |
| public String | aggregateComponentAssignmentExpression(String
The expression to the aggregate column, which contains the column aggregateParentAssignmentExpression, String The column within the aggregate type, for which to return the assignment expression column, ColumnTypeInformation The type information for the aggregate column aggregateColumnType, ColumnTypeInformation The type information for the column within the aggregate type columnType)Returns the assignment expression to use for |
| public String | aggregateComponentCustomReadExpression(String
The custom read expression template of the column template, String The placeholder to replace with the actual read expression placeholder, String The expression to the aggregate column, which contains the column aggregateParentReadExpression, String The column within the aggregate type, for which to return the read expression column, ColumnTypeInformation The type information for the aggregate column aggregateColumnType, ColumnTypeInformation The type information for the column within the aggregate type columnType)Returns the custom read expression to use for |
| public int | aggregateComponentSqlTypeCode(int
The aggregateColumnSqlTypeCode, int org. type code of the aggregate columnThe columnSqlTypeCode)org. type code of the columnReturns the |
| public String | aggregateCustomWriteExpression(ColumnTypeInformation
The type information for the aggregate column aggregateColumnType, List<Column> The columns of the aggregate type aggregatedColumns)Returns the custom write expression to use for an aggregate column of the given column type, containing the given aggregated columns. |
| public AggregateSupport. | aggregateCustomWriteExpressionRenderer(SelectableMapping
The mapping of the aggregate column aggregateColumn, SelectableMapping[] The mappings of the columns that should be updated columnsToUpdate, TypeConfiguration The type configuration typeConfiguration)
|
| public boolean | preferBindAggregateMapping(int aggregateSqlTypeCode)
Whether to prefer binding the aggregate column as a whole instead of individual parts. |
| public boolean | preferSelectAggregateMapping(int aggregateSqlTypeCode)
Whether to prefer selecting the aggregate column as a whole instead of individual parts. |
| public boolean | requiresAggregateCustomWriteExpressionRenderer(int aggregateSqlTypeCode)
Whether |
| public boolean | supportsComponentCheckConstraints()
Returns whether the database supports the use of a check constraint on tables, to implement not-null and other constraints of an aggregate type. |
| aggregateAuxiliaryDatabaseObjects | back to summary |
|---|---|
| public List Allows to generate auxiliary database objects for an aggregate type. | |
| aggregateComponentAssignmentExpression | back to summary |
|---|---|
| public String aggregateComponentAssignmentExpression(String aggregateParentAssignmentExpression, String column, ColumnTypeInformation aggregateColumnType, ColumnTypeInformation columnType) Returns the assignment expression to use for
| |
| aggregateComponentCustomReadExpression | back to summary |
|---|---|
| public String aggregateComponentCustomReadExpression(String template, String placeholder, String aggregateParentReadExpression, String column, ColumnTypeInformation aggregateColumnType, ColumnTypeInformation columnType) Returns the custom read expression to use for
| |
| aggregateComponentSqlTypeCode | back to summary |
|---|---|
| public int aggregateComponentSqlTypeCode(int aggregateColumnSqlTypeCode, int columnSqlTypeCode) Returns the
| |
| aggregateCustomWriteExpression | back to summary |
|---|---|
| public String aggregateCustomWriteExpression(ColumnTypeInformation aggregateColumnType, List<Column> aggregatedColumns) Returns the custom write expression to use for an aggregate column of the given column type, containing the given aggregated columns.
| |
| aggregateCustomWriteExpressionRenderer | back to summary |
|---|---|
public AggregateSupport.
| |
| preferBindAggregateMapping | back to summary |
|---|---|
| public boolean preferBindAggregateMapping(int aggregateSqlTypeCode) Whether to prefer binding the aggregate column as a whole instead of individual parts. | |
| preferSelectAggregateMapping | back to summary |
|---|---|
| public boolean preferSelectAggregateMapping(int aggregateSqlTypeCode) Whether to prefer selecting the aggregate column as a whole instead of individual parts. | |
| requiresAggregateCustomWriteExpressionRenderer | back to summary |
|---|---|
| public boolean requiresAggregateCustomWriteExpressionRenderer(int aggregateSqlTypeCode) Whether | |
| supportsComponentCheckConstraints | back to summary |
|---|---|
| public boolean supportsComponentCheckConstraints() Returns whether the database supports the use of a check constraint on tables, to implement not-null and other constraints of an aggregate type. | |
| Modifier and Type | Method and Description |
|---|---|
| public Expression | getValueExpression(SelectableMapping selectableMapping)
Returns the value expression to assign to the given selectable mapping,
or throws an |
| getValueExpression | back to summary |
|---|---|
| public Expression getValueExpression(SelectableMapping selectableMapping) Returns the value expression to assign to the given selectable mapping,
or throws an | |
aggregateColumnWriteExpression.
| Modifier and Type | Method and Description |
|---|---|
| public void | render(SqlAppender sqlAppender, SqlAstTranslator<?> translator, AggregateSupport.
Renders the qualified custom write expression to the |
| render | back to summary |
|---|---|
| public void render(SqlAppender sqlAppender, SqlAstTranslator<?> translator, AggregateSupport. Renders the qualified custom write expression to the | |