Object/Trait

com.snowplowanalytics.iglu.core

SchemaVer

Related Docs: trait SchemaVer | package core

Permalink

object SchemaVer

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SchemaVer
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final case class Full(model: Int, revision: Int, addition: Int) extends SchemaVer with Product with Serializable

    Permalink

    Explicit, fully known version.

    Explicit, fully known version. Can be attached to both data and schema

  2. final case class Partial(model: Option[Int], revision: Option[Int], addition: Option[Int]) extends SchemaVer with Product with Serializable

    Permalink

    Partially known version.

    Partially known version. Can be attached only to data, schema need to be looked-up or inferenced

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. def apply(model: Int, revision: Int, addition: Int): SchemaVer

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

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

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  13. def isValid(version: String): Boolean

    Permalink

    Check if string is valid SchemaVer

    Check if string is valid SchemaVer

    version

    string to be checked

    returns

    true if string is valid SchemaVer

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

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

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

    Permalink
    Definition Classes
    AnyRef
  17. implicit val ordering: Ordering[SchemaVer]

    Permalink

    Default Ordering instance for SchemaVer making initial Schemas first and latest Schemas last

  18. implicit val orderingFull: Ordering[Full]

    Permalink
  19. def parse(version: String): Either[ParseError, SchemaVer]

    Permalink

    Extract the model, revision, and addition of the SchemaVer (possibly unknown)

  20. def parseFull(version: String): Either[ParseError, Full]

    Permalink

    Extract the model, revision, and addition of the SchemaVer (always known)

  21. val schemaVerFullRegex: Regex

    Permalink

    Regular expression to validate or extract Full SchemaVer, with known MODEL, REVISION, ADDITION Disallow preceding zeros and MODEL to be equal 0

  22. val schemaVerPartialRegex: Regex

    Permalink

    Regular expression to validate or extract Partial SchemaVer, with possible unknown MODEL, REVISION, ADDITION

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

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

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped