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 Product
trait Equals
trait Matchable
class Any
Show all
Members list
Compare for ordering (epoch > major > minor).
Compare for ordering (epoch > major > minor).
Attributes
- Source
-
core.scala
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
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