DataVersion

zio.blocks.data.migration.DataVersion
final case class DataVersion(epoch: Int, major: Int, minor: Int, timestampMillis: Option[Long] = ...)

Semantic version for data schemas.

Value parameters

epoch

Major breaking epoch (incompatible with prior epochs)

major

Major version within epoch

minor

Minor/patch version

timestampMillis

Optional creation timestamp (epoch millis)

Attributes

Source
core.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def <(that: DataVersion): Boolean

Attributes

Source
core.scala
def <=(that: DataVersion): Boolean

Attributes

Source
core.scala
def >(that: DataVersion): Boolean

Attributes

Source
core.scala
def >=(that: DataVersion): Boolean

Attributes

Source
core.scala
def compare(that: DataVersion): Int

Compare for ordering (epoch > major > minor).

Compare for ordering (epoch > major > minor).

Attributes

Source
core.scala

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
Source
Product.scala
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product
Source
Product.scala