Uses of Class
org.fastnate.generator.context.GeneratorColumn
Packages that use GeneratorColumn
Package
Description
-
Uses of GeneratorColumn in org.fastnate.generator.context
Fields in org.fastnate.generator.context declared as GeneratorColumnModifier and TypeFieldDescriptionprivate final GeneratorColumnEntityProperty.columnThe description of the join column.private final GeneratorColumnIdentityValue.columnprivate final GeneratorColumnPrimitiveProperty.columnThe column name in the table.private GeneratorColumnEntityClass.discriminatorColumnThe column forEntityClass.discriminator.private GeneratorColumnPluralProperty.idColumnThe column that contains the id of the entity.private final GeneratorColumnMapProperty.keyColumnThe name of the column that contains the key.private final GeneratorColumnCollectionProperty.orderColumnThe name of the column that saves the order of the entries in the collection.private final GeneratorColumnTableIdGenerator.pkColumnprivate GeneratorColumnEntityClass.primaryKeyJoinColumnThe column that contains the id of this entity ifEntityClass.joinedParentClassis notnull.private final GeneratorColumnPluralProperty.valueColumnThe column that contains the value (or the id of the value).private final GeneratorColumnTableIdGenerator.valueColumnFields in org.fastnate.generator.context with type parameters of type GeneratorColumnModifier and TypeFieldDescriptionprivate final Map<String, GeneratorColumn> GeneratorTable.columnsThe known columns for this table.Methods in org.fastnate.generator.context that return GeneratorColumnModifier and TypeMethodDescriptionprivate static GeneratorColumnMapProperty.buildKeyColumn(GeneratorTable table, jakarta.persistence.MapKeyColumn keyColumn, String defaultKeyColumn) private static GeneratorColumnMapProperty.buildKeyColumn(GeneratorTable table, jakarta.persistence.MapKeyJoinColumn keyColumn, String defaultKeyColumn) private static GeneratorColumnPluralProperty.buildValueColumn(GeneratorTable table, jakarta.persistence.AssociationOverride asscoiationOverride, jakarta.persistence.AttributeOverride attributeOverride, AttributeAccessor attribute, String defaultColumnName) Builds the column that contains the value for the collection / map.EntityProperty.getColumn()The description of the join column.PrimitiveProperty.getColumn()The column name in the table.abstract GeneratorColumnSingularProperty.getColumn()The associated column.EntityClass.getDiscriminatorColumn()The column forEntityClass.discriminator.(package private) GeneratorColumnEntityClass.getIdColumn(AttributeAccessor attribute) Resolves the column for theid propertyof this entity class.PluralProperty.getIdColumn()The column that contains the id of the entity.protected GeneratorColumnCollectionProperty.getKeyColumn()MapProperty.getKeyColumn()The name of the column that contains the key.protected abstract GeneratorColumnPluralProperty.getKeyColumn()An optional column that contains the index / key of the values.CollectionProperty.getOrderColumn()The name of the column that saves the order of the entries in the collection.TableIdGenerator.getPkColumn()EntityClass.getPrimaryKeyJoinColumn()The column that contains the id of this entity ifEntityClass.joinedParentClassis notnull.PluralProperty.getValueColumn()The column that contains the value (or the id of the value).TableIdGenerator.getValueColumn()GeneratorTable.resolveColumn(String columnName) Adds or finds a column which is part of an insert statement to this statement.GeneratorTable.resolveColumn(String columnName, boolean autoGenerated) Adds or finds a column which is part of this table.private static GeneratorColumnEntityProperty.resolveJoinColumn(GeneratorTable containerTable, AttributeAccessor attribute, jakarta.persistence.AssociationOverride override, EntityClass<?> targetClass) Methods in org.fastnate.generator.context that return types with arguments of type GeneratorColumnMethods in org.fastnate.generator.context with parameters of type GeneratorColumnModifier and TypeMethodDescriptionvoidIdentityValue.addNextValue(TableStatement statement, GeneratorColumn tableColumn, Number value) abstract voidIdGenerator.addNextValue(TableStatement statement, GeneratorColumn column, Number nextValue) Adds the generated value to the given statement.voidSequenceIdGenerator.addNextValue(TableStatement statement, GeneratorColumn column, Number value) voidTableIdGenerator.addNextValue(TableStatement statement, GeneratorColumn column, Number value) voidContextModelListener.foundColumn(GeneratorColumn column) Called when a new table column was discovered.voidDefaultContextModelListener.foundColumn(GeneratorColumn column) IdentityValue.getExpression(GeneratorTable entityTable, GeneratorColumn targetColumn, Number targetId, boolean whereExpression) abstract ColumnExpressionIdGenerator.getExpression(GeneratorTable table, GeneratorColumn column, Number id, boolean whereExpression) Builds the reference to another entity that has the given ID.SequenceIdGenerator.getExpression(GeneratorTable entityTable, GeneratorColumn column, Number targetId, boolean whereExpression) TableIdGenerator.getExpression(GeneratorTable table, GeneratorColumn column, Number targetId, boolean whereExpression) GeneratorContext.getGenerator(jakarta.persistence.GeneratedValue generatedValue, GeneratorTable table, GeneratorColumn column) Finds the correct generator for the given annotation.Constructors in org.fastnate.generator.context with parameters of type GeneratorColumnModifierConstructorDescriptionIdentityValue(GeneratorContext context, GeneratorTable table, GeneratorColumn column) privateTableIdGenerator(GeneratorContext context, boolean relativeIds, GeneratorTable generatorTable, GeneratorColumn pkColumn, ColumnExpression pkColumnValue, GeneratorColumn valueColumn, int allocationSize, long initialValue, long nextValue, long maxAllocatedValue) Creates a newTableIdGeneratorinstance. -
Uses of GeneratorColumn in org.fastnate.generator.dialect
Methods in org.fastnate.generator.dialect with parameters of type GeneratorColumnModifier and TypeMethodDescriptionvoidGeneratorDialect.adjustNextIdentityValue(StatementsWriter writer, GeneratorTable table, GeneratorColumn column, long nextValue) Adjusts the next value of the given identity column to ensure that it is bigger than the last generated value.voidPostgresDialect.adjustNextIdentityValue(StatementsWriter writer, GeneratorTable table, GeneratorColumn columnName, long nextValue) -
Uses of GeneratorColumn in org.fastnate.generator.statements
Fields in org.fastnate.generator.statements declared as GeneratorColumnModifier and TypeFieldDescriptionprivate final GeneratorColumnAbstractStatementsWriter.UpdateStatement.idColumnFields in org.fastnate.generator.statements with type parameters of type GeneratorColumnModifier and TypeFieldDescriptionprivate final Map<GeneratorColumn, ColumnExpression> AbstractStatementsWriter.AbstractTableStatement.valuesThe columns and their values.Methods in org.fastnate.generator.statements that return GeneratorColumnMethods in org.fastnate.generator.statements that return types with arguments of type GeneratorColumnModifier and TypeMethodDescriptionAbstractStatementsWriter.AbstractTableStatement.getValues()The columns and their values.Methods in org.fastnate.generator.statements with parameters of type GeneratorColumnModifier and TypeMethodDescriptionAbstractStatementsWriter.createUpdateStatement(GeneratorDialect dialect, GeneratorTable table, GeneratorColumn idColumn, ColumnExpression idValue) StatementsWriter.createUpdateStatement(GeneratorDialect dialect, GeneratorTable table, GeneratorColumn idColumn, ColumnExpression idValue) Creates a container for a dedicated "update table" statement.voidConnectedStatementsWriter.ContextListener.foundColumn(GeneratorColumn column) voidPostgreSqlBulkWriter.ContextListener.foundColumn(GeneratorColumn column) voidAbstractStatementsWriter.AbstractTableStatement.setColumnValue(GeneratorColumn column, ColumnExpression value) Sets the value for a specific column.voidConnectedStatementsWriter.PreparedInsertStatement.setColumnValue(GeneratorColumn column, ColumnExpression expression) voidTableStatement.setColumnValue(GeneratorColumn column, ColumnExpression value) Sets a plain expression for a specific column.Constructors in org.fastnate.generator.statements with parameters of type GeneratorColumnModifierConstructorDescriptionprotectedUpdateStatement(GeneratorDialect dialect, GeneratorTable table, GeneratorColumn idColumn, ColumnExpression idValue) Creates a new instance of UpdateStatement.