Object/Class

com.snowplowanalytics.iglu.schemaddl.migrations

SchemaDiff

Related Docs: class SchemaDiff | package migrations

Permalink

object SchemaDiff extends Serializable

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

Type Members

  1. case class Modified(pointer: SchemaPointer, from: Schema, to: Schema) extends Product with Serializable

    Permalink
  2. type VersionPredicate = (SchemaDiff) ⇒ Boolean

    Permalink

    A function deciding if SchemaDiff matches certain SchemaVer convention

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. val AdditionChecks: List[VersionPredicate]

    Permalink
  5. val ModelChecks: List[VersionPredicate]

    Permalink
  6. val RevisionChecks: List[VersionPredicate]

    Permalink
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def becameRequired[A](getter: (Delta) ⇒ Changed[A])(m: Modified): Boolean

    Permalink
  9. def build(source: SchemaListSegment): SchemaDiff

    Permalink

    Build SchemaDiff from list of schemas

  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def constraintWidening(diff: SchemaDiff): Boolean

    Permalink

    Any constraints changed

  12. def diff(source: SubSchemas, target: SubSchemas): SchemaDiff

    Permalink

    Generate diff from source list of properties to target though sequence of intermediate

    Generate diff from source list of properties to target though sequence of intermediate

    source

    source list of JSON Schema properties

    target

    non-empty list of successive JSON Schema properties including target

    returns

    diff between two Schmea

  13. val empty: SchemaDiff

    Permalink
  14. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def getAddedKeys(source: SubSchemas, successive: SubSchemas): Set[(SchemaPointer, Schema)]

    Permalink

    Get list of new properties in order they appear in subsequent Schemas

    Get list of new properties in order they appear in subsequent Schemas

    source

    original Schema

    successive

    all subsequent Schemas

    returns

    possibly empty list of keys in correct order

  18. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  19. def getModifiedProperties(source: SubSchemas, target: SubSchemas): Set[Modified]

    Permalink

    Get list of JSON Schema properties modified between two versions

    Get list of JSON Schema properties modified between two versions

    source

    original list of JSON Schema properties

    target

    final list of JSON Schema properties

    returns

    set of properties changed in target Schema

  20. def getPointer(diff: SchemaDiff): Option[VersionPoint]

    Permalink
  21. def getRemovedProperties(source: SubSchemas, target: SubSchemas): SubSchemas

    Permalink
  22. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  24. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  27. def optionalAdded(diff: SchemaDiff): Boolean

    Permalink
  28. def required(diff: SchemaDiff): Boolean

    Permalink

    New required property added or existing one became required

  29. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  31. def typeChange(diff: SchemaDiff): Boolean

    Permalink

    Changed or restricted type

  32. def typeWidening(diff: SchemaDiff): Boolean

    Permalink

    Revisioned type

  33. final def wait(): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. 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