Package

com.snowplowanalytics.iglu.schemaddl

migrations

Permalink

package migrations

Visibility
  1. Public
  2. All

Type Members

  1. final case class FlatSchema(subschemas: SubSchemas, required: Set[SchemaPointer], parents: SubSchemas) extends Product with Serializable

    Permalink

    subschemas

    (order should not matter at this point)

    required

    keys listed in required property, whose parents also listed in required some of parent properties still can be null and thus not required

    parents

    keys that are not primitive, but can contain important information (e.g. nullability)

  2. case class Migration(vendor: String, name: String, from: Full, to: Full, diff: SchemaDiff) extends Product with Serializable

    Permalink

    Class representing common information about Schema change, without details about specific DDLs

    Class representing common information about Schema change, without details about specific DDLs

    vendor

    Schema vendor

    name

    Schema name

    from

    source Schema version

    to

    target Schema version

    diff

    ordered map of added Schema properties

  3. case class SchemaDiff(added: List[(SchemaPointer, Schema)], modified: Set[Modified], removed: List[(SchemaPointer, Schema)]) extends Product with Serializable

    Permalink

    This class represents differences between *two* Schemas Preserves no order because its up to FinalDiff

    This class represents differences between *two* Schemas Preserves no order because its up to FinalDiff

    added

    list of properties sorted by their appearance in JSON Schemas

    modified

    list of properties changed in target Schema; if some property was added in successive Schema and modified after that, it should appear in added

    removed

    set of keys removed in target Schema

Value Members

  1. object FlatData

    Permalink
  2. object FlatSchema extends Serializable

    Permalink
  3. object Migration extends Serializable

    Permalink
  4. object SchemaDiff extends Serializable

    Permalink

Ungrouped