Record Class SqlTableMapping

java.lang.Object
java.lang.Record
io.micronaut.data.model.schema.sql.SqlTableMapping
Record Components:
schema - The schema name, not required
name - The table name
escape - An indicator telling whether table and column names require escaping
type - The table mapping type
primaryKeyColumns - The list of primary key columns, can be null or empty
columns - The list of columns. See SqlColumnMapping
sequences - The list of table sequences, can be null or empty. See SqlSequenceMapping
indexes - The list of table indexes, can be null or empty. See SqlIndexMapping
auxiliaryStatements - Optional additional statements associated with this table, emitted after table creation and before indexes
distribution - How the table is distributed across the shards of an Oracle Globally Distributed Database, if it is

@Internal public record SqlTableMapping(@Nullable String schema, String name, boolean escape, SqlTableMapping.TableType type, List<SqlColumnMapping> primaryKeyColumns, List<SqlColumnMapping> columns, List<SqlSequenceMapping> sequences, List<SqlIndexMapping> indexes, List<String> auxiliaryStatements, @Nullable SqlTableDistribution distribution) extends Record
The SQL table mapping information extracted from the PersistentEntity.
Since:
4.13.0
Author:
radovanradic