public class VersionMappingInfo extends MappingInfo
SchemaGroup
used at runtime. Rather, they will be structs
with the relevant pieces of information filled in.MappingInfo.ForeignKeyDefaults, MappingInfo.TableDefaults
JOIN_FORWARD, JOIN_INVERSE, JOIN_NONE
Constructor and Description |
---|
VersionMappingInfo() |
Modifier and Type | Method and Description |
---|---|
Column[] |
getColumns(Version version,
Column[] templates,
boolean adapt)
Return the columns set for this version, based on the given templates.
|
Index |
getIndex(Version version,
Column[] cols,
boolean adapt)
Return the index to set on the version columns, or null if none.
|
Column[] |
getMultiTableColumns(Version vers,
Column[] templates,
boolean adapt)
Return the columns set for this version when the columns are spread
across multiple tables.
|
void |
syncWith(Version version)
Synchronize internal information with the mapping data for the given
version.
|
assertNoForeignKey, assertNoIndex, assertNoJoin, assertNoSchemaComponents, assertNoUnique, assertStrategy, canForeignKey, canIndex, canUnique, clear, clear, copy, createColumns, createForeignKey, createIndex, createTable, createTable, createUnique, getColumnIO, getColumns, getColumns, getColumns, getForeignKey, getIndex, getJoinDirection, getStrategy, getUnique, hasSchemaComponents, isImplicitRelation, mergeColumn, setCanForeignKey, setCanIndex, setCanUnique, setColumnIO, setColumns, setForeignKey, setImplicitRelation, setIndex, setJoinDirection, setStrategy, setUnique, syncColumn, syncColumns, syncForeignKey, syncIndex, syncUnique
public Column[] getColumns(Version version, Column[] templates, boolean adapt)
public Column[] getMultiTableColumns(Version vers, Column[] templates, boolean adapt)
public Index getIndex(Version version, Column[] cols, boolean adapt)
public void syncWith(Version version)
Copyright © 2006–2018 Apache Software Foundation. All rights reserved.