PrimitiveValue

zio.blocks.schema.PrimitiveValue
See thePrimitiveValue companion trait

The cases of PrimitiveValue, their ordering and their schemas.

Attributes

Companion
trait
Source
PrimitiveValue.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

case class BigDecimal(value: BigDecimal) extends PrimitiveValue

A scala.BigDecimal value, compared by numeric value, so 2.0 and 2.00 compare as equal.

A scala.BigDecimal value, compared by numeric value, so 2.0 and 2.00 compare as equal.

Attributes

Source
PrimitiveValue.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class BigInt(value: BigInt) extends PrimitiveValue

A scala.BigInt value.

A scala.BigInt value.

Attributes

Source
PrimitiveValue.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class Boolean(value: Boolean) extends PrimitiveValue

A Boolean value; false is less than true.

A Boolean value; false is less than true.

Attributes

Source
PrimitiveValue.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class Byte(value: Byte) extends PrimitiveValue

A Byte value.

A Byte value.

Attributes

Source
PrimitiveValue.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class Char(value: Char) extends PrimitiveValue

A Char value.

A Char value.

Attributes

Source
PrimitiveValue.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class Currency(value: Currency) extends PrimitiveValue

A java.util.Currency value, compared by its ISO 4217 currency code.

A java.util.Currency value, compared by its ISO 4217 currency code.

Attributes

Source
PrimitiveValue.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class DayOfWeek(value: DayOfWeek) extends PrimitiveValue

A java.time.DayOfWeek value, from MONDAY to SUNDAY.

A java.time.DayOfWeek value, from MONDAY to SUNDAY.

Attributes

Source
PrimitiveValue.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class Double(value: Double) extends PrimitiveValue

A Double value, compared as java.lang.Double.compare does: NaN is the largest value, and -0.0 is less than 0.0.

A Double value, compared as java.lang.Double.compare does: NaN is the largest value, and -0.0 is less than 0.0.

Attributes

Source
PrimitiveValue.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class Duration(value: Duration) extends PrimitiveValue

A java.time.Duration value.

A java.time.Duration value.

Attributes

Source
PrimitiveValue.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class Float(value: Float) extends PrimitiveValue

A Float value, compared as java.lang.Float.compare does: NaN is the largest value, and -0.0f is less than 0.0f.

A Float value, compared as java.lang.Float.compare does: NaN is the largest value, and -0.0f is less than 0.0f.

Attributes

Source
PrimitiveValue.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class Instant(value: Instant) extends PrimitiveValue

A java.time.Instant value.

A java.time.Instant value.

Attributes

Source
PrimitiveValue.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class Int(value: Int) extends PrimitiveValue

An Int value. It is compared by subtracting the two values, which overflows: Int(Int.MaxValue) > Int(-1) is false.

An Int value. It is compared by subtracting the two values, which overflows: Int(Int.MaxValue) > Int(-1) is false.

Attributes

Source
PrimitiveValue.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class LocalDate(value: LocalDate) extends PrimitiveValue

A java.time.LocalDate value.

A java.time.LocalDate value.

Attributes

Source
PrimitiveValue.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class LocalDateTime(value: LocalDateTime) extends PrimitiveValue

A java.time.LocalDateTime value.

A java.time.LocalDateTime value.

Attributes

Source
PrimitiveValue.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class LocalTime(value: LocalTime) extends PrimitiveValue

A java.time.LocalTime value.

A java.time.LocalTime value.

Attributes

Source
PrimitiveValue.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class Long(value: Long) extends PrimitiveValue

A Long value.

A Long value.

Attributes

Source
PrimitiveValue.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class Month(value: Month) extends PrimitiveValue

A java.time.Month value, from JANUARY to DECEMBER.

A java.time.Month value, from JANUARY to DECEMBER.

Attributes

Source
PrimitiveValue.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class MonthDay(value: MonthDay) extends PrimitiveValue

A java.time.MonthDay value.

A java.time.MonthDay value.

Attributes

Source
PrimitiveValue.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class OffsetDateTime(value: OffsetDateTime) extends PrimitiveValue

A java.time.OffsetDateTime value, compared with OffsetDateTime#compareTo: by instant, then by local date-time.

A java.time.OffsetDateTime value, compared with OffsetDateTime#compareTo: by instant, then by local date-time.

Attributes

Source
PrimitiveValue.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class OffsetTime(value: OffsetTime) extends PrimitiveValue

A java.time.OffsetTime value, compared with OffsetTime#compareTo.

A java.time.OffsetTime value, compared with OffsetTime#compareTo.

Attributes

Source
PrimitiveValue.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class Period(value: Period) extends PrimitiveValue

A java.time.Period value. Periods are compared by their approximate length in days, counting a month as 30.436875 days, so P1Y and P12M compare as equal although they are not equal values.

A java.time.Period value. Periods are compared by their approximate length in days, counting a month as 30.436875 days, so P1Y and P12M compare as equal although they are not equal values.

Attributes

Source
PrimitiveValue.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class Short(value: Short) extends PrimitiveValue

A Short value.

A Short value.

Attributes

Source
PrimitiveValue.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class String(value: String) extends PrimitiveValue

A String value, compared with String#compareTo.

A String value, compared with String#compareTo.

Attributes

Source
PrimitiveValue.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class UUID(value: UUID) extends PrimitiveValue

A java.util.UUID value, compared with UUID#compareTo.

A java.util.UUID value, compared with UUID#compareTo.

Attributes

Source
PrimitiveValue.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case object Unit extends PrimitiveValue

The Unit value. It is the smallest primitive value.

The Unit value. It is the smallest primitive value.

Attributes

Source
PrimitiveValue.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
Unit.type
case class Year(value: Year) extends PrimitiveValue

A java.time.Year value.

A java.time.Year value.

Attributes

Source
PrimitiveValue.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class YearMonth(value: YearMonth) extends PrimitiveValue

A java.time.YearMonth value.

A java.time.YearMonth value.

Attributes

Source
PrimitiveValue.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class ZoneId(value: ZoneId) extends PrimitiveValue

A java.time.ZoneId value, compared by its ID string, such as Europe/Paris.

A java.time.ZoneId value, compared by its ID string, such as Europe/Paris.

Attributes

Source
PrimitiveValue.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class ZoneOffset(value: ZoneOffset) extends PrimitiveValue

A java.time.ZoneOffset value, compared with ZoneOffset#compareTo, which puts larger offsets first.

A java.time.ZoneOffset value, compared with ZoneOffset#compareTo, which puts larger offsets first.

Attributes

Source
PrimitiveValue.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class ZonedDateTime(value: ZonedDateTime) extends PrimitiveValue

A java.time.ZonedDateTime value, compared with ZonedDateTime#compareTo: by instant, then by local date-time, then by zone ID.

A java.time.ZonedDateTime value, compared with ZonedDateTime#compareTo: by instant, then by local date-time, then by zone ID.

Attributes

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

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements.

The names of the product elements.

Attributes

Inherited from:
Mirror
Source
Mirror.scala
type MirroredLabel <: String

The name of the type.

The name of the type.

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Implicits

Implicits

implicit lazy val bigDecimalSchema: Schema[BigDecimal]

The schema of PrimitiveValue.BigDecimal: a record with the single field value.

The schema of PrimitiveValue.BigDecimal: a record with the single field value.

Attributes

Source
PrimitiveValue.scala
implicit lazy val bigIntSchema: Schema[BigInt]

The schema of PrimitiveValue.BigInt: a record with the single field value.

The schema of PrimitiveValue.BigInt: a record with the single field value.

Attributes

Source
PrimitiveValue.scala
implicit lazy val booleanSchema: Schema[Boolean]

The schema of PrimitiveValue.Boolean: a record with the single field value.

The schema of PrimitiveValue.Boolean: a record with the single field value.

Attributes

Source
PrimitiveValue.scala
implicit lazy val byteSchema: Schema[Byte]

The schema of PrimitiveValue.Byte: a record with the single field value.

The schema of PrimitiveValue.Byte: a record with the single field value.

Attributes

Source
PrimitiveValue.scala
implicit lazy val charSchema: Schema[Char]

The schema of PrimitiveValue.Char: a record with the single field value.

The schema of PrimitiveValue.Char: a record with the single field value.

Attributes

Source
PrimitiveValue.scala
implicit lazy val currencySchema: Schema[Currency]

The schema of PrimitiveValue.Currency: a record with the single field value.

The schema of PrimitiveValue.Currency: a record with the single field value.

Attributes

Source
PrimitiveValue.scala
implicit lazy val dayOfWeekSchema: Schema[DayOfWeek]

The schema of PrimitiveValue.DayOfWeek: a record with the single field value.

The schema of PrimitiveValue.DayOfWeek: a record with the single field value.

Attributes

Source
PrimitiveValue.scala
implicit lazy val doubleSchema: Schema[Double]

The schema of PrimitiveValue.Double: a record with the single field value.

The schema of PrimitiveValue.Double: a record with the single field value.

Attributes

Source
PrimitiveValue.scala
implicit lazy val durationSchema: Schema[Duration]

The schema of PrimitiveValue.Duration: a record with the single field value.

The schema of PrimitiveValue.Duration: a record with the single field value.

Attributes

Source
PrimitiveValue.scala
implicit lazy val floatSchema: Schema[Float]

The schema of PrimitiveValue.Float: a record with the single field value.

The schema of PrimitiveValue.Float: a record with the single field value.

Attributes

Source
PrimitiveValue.scala
implicit lazy val instantSchema: Schema[Instant]

The schema of PrimitiveValue.Instant: a record with the single field value.

The schema of PrimitiveValue.Instant: a record with the single field value.

Attributes

Source
PrimitiveValue.scala
implicit lazy val intSchema: Schema[Int]

The schema of PrimitiveValue.Int: a record with the single field value.

The schema of PrimitiveValue.Int: a record with the single field value.

Attributes

Source
PrimitiveValue.scala
implicit lazy val localDateSchema: Schema[LocalDate]

The schema of PrimitiveValue.LocalDate: a record with the single field value.

The schema of PrimitiveValue.LocalDate: a record with the single field value.

Attributes

Source
PrimitiveValue.scala

The schema of PrimitiveValue.LocalDateTime: a record with the single field value.

The schema of PrimitiveValue.LocalDateTime: a record with the single field value.

Attributes

Source
PrimitiveValue.scala
implicit lazy val localTimeSchema: Schema[LocalTime]

The schema of PrimitiveValue.LocalTime: a record with the single field value.

The schema of PrimitiveValue.LocalTime: a record with the single field value.

Attributes

Source
PrimitiveValue.scala
implicit lazy val longSchema: Schema[Long]

The schema of PrimitiveValue.Long: a record with the single field value.

The schema of PrimitiveValue.Long: a record with the single field value.

Attributes

Source
PrimitiveValue.scala
implicit lazy val monthDaySchema: Schema[MonthDay]

The schema of PrimitiveValue.MonthDay: a record with the single field value.

The schema of PrimitiveValue.MonthDay: a record with the single field value.

Attributes

Source
PrimitiveValue.scala
implicit lazy val monthSchema: Schema[Month]

The schema of PrimitiveValue.Month: a record with the single field value.

The schema of PrimitiveValue.Month: a record with the single field value.

Attributes

Source
PrimitiveValue.scala

The schema of PrimitiveValue.OffsetDateTime: a record with the single field value.

The schema of PrimitiveValue.OffsetDateTime: a record with the single field value.

Attributes

Source
PrimitiveValue.scala
implicit lazy val offsetTimeSchema: Schema[OffsetTime]

The schema of PrimitiveValue.OffsetTime: a record with the single field value.

The schema of PrimitiveValue.OffsetTime: a record with the single field value.

Attributes

Source
PrimitiveValue.scala
implicit val ordering: Ordering[PrimitiveValue]

Orders primitive values with compare.

Orders primitive values with compare.

Attributes

Source
PrimitiveValue.scala
implicit lazy val periodSchema: Schema[Period]

The schema of PrimitiveValue.Period: a record with the single field value.

The schema of PrimitiveValue.Period: a record with the single field value.

Attributes

Source
PrimitiveValue.scala
implicit lazy val schema: Schema[PrimitiveValue]

The schema of PrimitiveValue: a variant with one case per PrimitiveValue case, named after it and in typeIndex order, whose schemas are the ones above.

The schema of PrimitiveValue: a variant with one case per PrimitiveValue case, named after it and in typeIndex order, whose schemas are the ones above.

Attributes

Source
PrimitiveValue.scala
implicit lazy val shortSchema: Schema[Short]

The schema of PrimitiveValue.Short: a record with the single field value.

The schema of PrimitiveValue.Short: a record with the single field value.

Attributes

Source
PrimitiveValue.scala
implicit lazy val stringSchema: Schema[String]

The schema of PrimitiveValue.String: a record with the single field value.

The schema of PrimitiveValue.String: a record with the single field value.

Attributes

Source
PrimitiveValue.scala
implicit lazy val unitSchema: Schema[Unit.type]

The schema of PrimitiveValue.Unit: a record without fields.

The schema of PrimitiveValue.Unit: a record without fields.

Attributes

Source
PrimitiveValue.scala
implicit lazy val uuidSchema: Schema[UUID]

The schema of PrimitiveValue.UUID: a record with the single field value.

The schema of PrimitiveValue.UUID: a record with the single field value.

Attributes

Source
PrimitiveValue.scala
implicit lazy val yearMonthSchema: Schema[YearMonth]

The schema of PrimitiveValue.YearMonth: a record with the single field value.

The schema of PrimitiveValue.YearMonth: a record with the single field value.

Attributes

Source
PrimitiveValue.scala
implicit lazy val yearSchema: Schema[Year]

The schema of PrimitiveValue.Year: a record with the single field value.

The schema of PrimitiveValue.Year: a record with the single field value.

Attributes

Source
PrimitiveValue.scala
implicit lazy val zoneIdSchema: Schema[ZoneId]

The schema of PrimitiveValue.ZoneId: a record with the single field value.

The schema of PrimitiveValue.ZoneId: a record with the single field value.

Attributes

Source
PrimitiveValue.scala
implicit lazy val zoneOffsetSchema: Schema[ZoneOffset]

The schema of PrimitiveValue.ZoneOffset: a record with the single field value.

The schema of PrimitiveValue.ZoneOffset: a record with the single field value.

Attributes

Source
PrimitiveValue.scala

The schema of PrimitiveValue.ZonedDateTime: a record with the single field value.

The schema of PrimitiveValue.ZonedDateTime: a record with the single field value.

Attributes

Source
PrimitiveValue.scala