Object/Class

com.snowplowanalytics.iglu.schemaddl.migrations

Migration

Related Docs: class Migration | package migrations

Permalink

object Migration extends Serializable

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Migration
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. sealed trait MigrateFromError extends Product with Serializable

    Permalink

    Represents error cases which can be get from MigrateFrom function

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object MigrateFromError extends Product with Serializable

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def buildMigration(source: SchemaListSegment): Migration

    Permalink

    Build migration from a sourceSchema to the last schema in list of successiveSchemas This method requires all intermediate schemas because we need to keep an order of properties

  7. def buildMigrationMap(schemaListFulls: NonEmptyList[SchemaListFull]): MigrationMap

    Permalink

    Build MigrationMap, a map of source Schema to it's migrations, where all source Schemas belong to a single model-revision Schema criterion

    Build MigrationMap, a map of source Schema to it's migrations, where all source Schemas belong to a single model-revision Schema criterion

    schemaListFulls

    List of SchemaListFull to create migrations

    returns

    map of each Schema to list of all available migrations

  8. def buildOrderedSubSchemasMap(orderedSchemasList: NonEmptyList[SchemaList]): Map[SchemaMap, OrderedSubSchemas]

    Permalink

    Build a map of source Schema to its OrderedSubSchemas, where all source Schemas are last version of their model group

    Build a map of source Schema to its OrderedSubSchemas, where all source Schemas are last version of their model group

    orderedSchemasList

    source Schemas

    returns

    map of last version of Schema model group to its OrderedSubSchemas

  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. def migrateFrom(current: SchemaKey, schemas: SchemaListFull): Either[MigrateFromError, Migration]

    Permalink

    Get a migration from current state to the latest known schema where error can be if schema key does not belong to these schemas or schema key is already a latest state

    Get a migration from current state to the latest known schema where error can be if schema key does not belong to these schemas or schema key is already a latest state

    current

    schemaKey of current state

    schemas

    schemas of model group which ordered according to their version

    returns

    return Either.left in case of error cases which is specified above or Migration as Either.right

  17. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  21. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  22. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped