| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| pack-priv static interface | |
| private static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| public static final AggregateSupport |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public List | aggregateAuxiliaryDatabaseObjects(Namespace namespace, String aggregatePath, ColumnTypeInformation aggregateColumnType, List<Column> aggregatedColumns)
Overrides org. Implements org. |
| 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)Overrides org. Implements org. column,
which is part of the aggregate type of aggregatePath.
|
| 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)Overrides org. Implements org. column.
|
| public int | aggregateComponentSqlTypeCode(int
The aggregateColumnSqlTypeCode, int org. type code of the aggregate columnThe columnSqlTypeCode)org. type code of the columnOverrides org. Implements org. org. type code to use for the given column type code,
when aggregated within a column of the given aggregate column type code.
|
| public String | aggregateCustomWriteExpression(ColumnTypeInformation
The type information for the aggregate column aggregateColumnType, List<Column> The columns of the aggregate type aggregatedColumns)Overrides org. Implements org. |
| 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)Overrides org. Implements org. |
| private static void | appendDeserializerColumns(List<Column> aggregatedColumns, StringBuilder deserializerSb, char sep, String prefix)
|
| private static void | appendDeserializerConstructor(List<Column> aggregatedColumns, StringBuilder deserializerSb, String prefix)
|
| private static void | |
| private static void | appendStructCustomWriteExpression(ColumnTypeInformation aggregateColumnType, List<Column> aggregatedColumns, StringBuilder sb)
|
| private static String | |
| private static boolean | |
| public boolean | preferBindAggregateMapping(int aggregateSqlTypeCode)
Overrides org. Implements org. |
| public boolean | preferSelectAggregateMapping(int aggregateSqlTypeCode)
Overrides org. Implements org. |
| public boolean | requiresAggregateCustomWriteExpressionRenderer(int aggregateSqlTypeCode)
Overrides org. Implements org. aggregateCustomWriteExpressionRenderer(SelectableMapping, SelectableMapping[], TypeConfiguration) is needed
when assigning an expression to individual aggregated columns in an update statement.
|
| private AggregateSupport. | structAggregateColumnWriter(SelectableMapping aggregateColumn, SelectableMapping[] columns, TypeConfiguration typeConfiguration)
|
| INSTANCE | back to summary |
|---|---|
| public static final AggregateSupport INSTANCE Hides org. | |
| DB2AggregateSupport | back to summary |
|---|---|
| public DB2AggregateSupport() | |
| aggregateAuxiliaryDatabaseObjects | back to summary |
|---|---|
| public List Overrides org. Implements org. Doc from org. 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) Overrides org. Implements org. Doc from org. 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) Overrides org. Implements org. Doc from org. Returns the custom read expression to use for
| |
| aggregateComponentSqlTypeCode | back to summary |
|---|---|
| public int aggregateComponentSqlTypeCode(int aggregateColumnSqlTypeCode, int columnSqlTypeCode) Overrides org. Implements org. Doc from org. Returns the
| |
| aggregateCustomWriteExpression | back to summary |
|---|---|
| public String aggregateCustomWriteExpression(ColumnTypeInformation aggregateColumnType, List<Column> aggregatedColumns) Overrides org. Implements org. Doc from org. 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. Overrides org. Implements org.
| |
| appendDeserializerColumns | back to summary |
|---|---|
| private static void appendDeserializerColumns(List<Column> aggregatedColumns, StringBuilder deserializerSb, char sep, String prefix) | |
| appendDeserializerConstructor | back to summary |
|---|---|
| private static void appendDeserializerConstructor(List<Column> aggregatedColumns, StringBuilder deserializerSb, String prefix) | |
| appendSerializer | back to summary |
|---|---|
| private static void appendSerializer(List<Column> aggregatedColumns, StringBuilder serializerSb, String prefix) | |
| appendStructCustomWriteExpression | back to summary |
|---|---|
| private static void appendStructCustomWriteExpression(ColumnTypeInformation aggregateColumnType, List<Column> aggregatedColumns, StringBuilder sb) | |
| determineTypeName | back to summary |
|---|---|
| private static String determineTypeName(SelectableMapping column, TypeConfiguration typeConfiguration) | |
| needsVarcharForBitDataCast | back to summary |
|---|---|
| private static boolean needsVarcharForBitDataCast(String columnType) | |
| preferBindAggregateMapping | back to summary |
|---|---|
| public boolean preferBindAggregateMapping(int aggregateSqlTypeCode) Overrides org. Implements org. Doc from org. Whether to prefer binding the aggregate column as a whole instead of individual parts.
| |
| preferSelectAggregateMapping | back to summary |
|---|---|
| public boolean preferSelectAggregateMapping(int aggregateSqlTypeCode) Overrides org. Implements org. Doc from org. Whether to prefer selecting the aggregate column as a whole instead of individual parts.
| |
| requiresAggregateCustomWriteExpressionRenderer | back to summary |
|---|---|
| public boolean requiresAggregateCustomWriteExpressionRenderer(int aggregateSqlTypeCode) Overrides org. Implements org. Doc from org. Whether
| |
| structAggregateColumnWriter | back to summary |
|---|---|
| private AggregateSupport. | |
| Modifier and Type | Field and Description |
|---|---|
| protected final EmbeddableMappingType | |
| protected final boolean | |
| protected final String | |
| private final LinkedHashMap |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | append(SqlAppender sb, String path, SqlAstTranslator<?> translator, AggregateSupport.
Implements org. |
| protected void |
| embeddableMappingType | back to summary |
|---|---|
| protected final EmbeddableMappingType embeddableMappingType | |
| nullable | back to summary |
|---|---|
| protected final boolean nullable | |
| structTypeName | back to summary |
|---|---|
| protected final String structTypeName | |
| subExpressions | back to summary |
|---|---|
| private final LinkedHashMap<String, DB2AggregateSupport. | |
| AggregateStructWriteExpression | back to summary |
|---|---|
| public AggregateStructWriteExpression(SelectableMapping selectableMapping) | |
| append | back to summary |
|---|---|
| public void append(SqlAppender sb, String path, SqlAstTranslator<?> translator, AggregateSupport. Implements org.
| |
| initializeSubExpressions | back to summary |
|---|---|
| protected void initializeSubExpressions(SelectableMapping[] columns, TypeConfiguration typeConfiguration) | |
| Modifier and Type | Method and Description |
|---|---|
| public void | append(SqlAppender sb, String path, SqlAstTranslator<?> translator, AggregateSupport.
|
| append | back to summary |
|---|---|
| public void append(SqlAppender sb, String path, SqlAstTranslator<?> translator, AggregateSupport. | |
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final String | |
| private final SelectableMapping | |
| private final String |
| Access | Constructor and Description |
|---|---|
| pack-priv | BasicStructWriteExpression(SelectableMapping selectableMapping, String typeName, String customWriteExpression)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | append(SqlAppender sb, String path, SqlAstTranslator<?> translator, AggregateSupport.
Implements org. |
| customWriteExpressionEnd | back to summary |
|---|---|
| private final String customWriteExpressionEnd | |
| customWriteExpressionStart | back to summary |
|---|---|
| private final String customWriteExpressionStart | |
| selectableMapping | back to summary |
|---|---|
| private final SelectableMapping selectableMapping | |
| typeName | back to summary |
|---|---|
| private final String typeName | |
| BasicStructWriteExpression | back to summary |
|---|---|
| pack-priv BasicStructWriteExpression(SelectableMapping selectableMapping, String typeName, String customWriteExpression) | |
| append | back to summary |
|---|---|
| public void append(SqlAppender sb, String path, SqlAstTranslator<?> translator, AggregateSupport. Implements org.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final String |
| Access | Constructor and Description |
|---|---|
| pack-priv | RootStructWriteExpression(SelectableMapping aggregateColumn, SelectableMapping[] columns, TypeConfiguration typeConfiguration)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | render(SqlAppender sqlAppender, SqlAstTranslator<?> translator, AggregateSupport.
Implements org. SqlAppender with the value expressions for each
selectable as returned by AggregateColumnWriteExpression#getValueExpression(SelectableMapping).
|
| selectableName | back to summary |
|---|---|
| private final String selectableName | |
| RootStructWriteExpression | back to summary |
|---|---|
| pack-priv RootStructWriteExpression(SelectableMapping aggregateColumn, SelectableMapping[] columns, TypeConfiguration typeConfiguration) | |
| render | back to summary |
|---|---|
| public void render(SqlAppender sqlAppender, SqlAstTranslator<?> translator, AggregateSupport. Implements org. Doc from org. Renders the qualified custom write expression to the
| |