Class VersionMappingInfo

  • All Implemented Interfaces:
    java.io.Serializable

    public class VersionMappingInfo
    extends MappingInfo
    Information about the mapping from a version indicator to the schema, in raw form. The columns and tables used in mapping info will not be part of the SchemaGroup used at runtime. Rather, they will be structs with the relevant pieces of information filled in.
    Author:
    Abe White
    See Also:
    Serialized Form
    • Constructor Detail

      • VersionMappingInfo

        public VersionMappingInfo()
    • Method Detail

      • getColumns

        public Column[] getColumns​(Version version,
                                   Column[] templates,
                                   boolean adapt)
        Return the columns set for this version, based on the given templates.
      • getMultiTableColumns

        public Column[] getMultiTableColumns​(Version vers,
                                             Column[] templates,
                                             boolean adapt)
        Return the columns set for this version when the columns are spread across multiple tables.
      • getIndex

        public Index getIndex​(Version version,
                              Column[] cols,
                              boolean adapt)
        Return the index to set on the version columns, or null if none.
      • syncWith

        public void syncWith​(Version version)
        Synchronize internal information with the mapping data for the given version.