Unit

zio.blocks.schema.PrimitiveValue.Unit
case object Unit extends PrimitiveValue

The Unit value. It is the smallest primitive value.

Attributes

Source
PrimitiveValue.scala
Graph
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

Members list

Type members

Types

type Type = Unit

The Scala or Java type of the value.

The Scala or Java type of the value.

Attributes

Source
PrimitiveValue.scala

Inherited types

type MirroredElemLabels = EmptyTuple

The names of the product elements.

The names of the product elements.

Attributes

Inherited from:
Singleton
Source
Mirror.scala
type MirroredElemTypes = EmptyTuple

Attributes

Inherited from:
Singleton
Source
Mirror.scala
type MirroredMonoType = this.type

The mirrored *-type.

The mirrored *-type.

Attributes

Inherited from:
Singleton
Source
Mirror.scala
type MirroredType = this.type

Attributes

Inherited from:
Singleton
Source
Mirror.scala

Inherited and Abstract types

type MirroredLabel <: String

The name of the type.

The name of the type.

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

def compare(that: PrimitiveValue): Int

Returns a negative number, zero or a positive number when this value is less than, equal to or greater than that. Values of the same case are compared by their value, except as noted on Int and Period; values of different cases by typeIndex.

Returns a negative number, zero or a positive number when this value is less than, equal to or greater than that. Values of the same case are compared by their value, except as noted on Int and Period; values of different cases by typeIndex.

Attributes

Source
PrimitiveValue.scala

Returns the PrimitiveType of the value, without validation.

Returns the PrimitiveType of the value, without validation.

Attributes

Source
PrimitiveValue.scala
def typeIndex: Int

Returns the position of this case in the list of cases, from 0 for Unit to 29 for UUID. Values of different cases are ordered by it.

Returns the position of this case in the list of cases, from 0 for Unit to 29 for UUID. Values of different cases are ordered by it.

Attributes

Source
PrimitiveValue.scala

Inherited methods

final def <(that: PrimitiveValue): Boolean

Returns true when this value is less than that by compare.

Returns true when this value is less than that by compare.

Attributes

Inherited from:
PrimitiveValue
Source
PrimitiveValue.scala
final def <=(that: PrimitiveValue): Boolean

Returns true when this value is less than or equal to that by compare.

Returns true when this value is less than or equal to that by compare.

Attributes

Inherited from:
PrimitiveValue
Source
PrimitiveValue.scala
final def >(that: PrimitiveValue): Boolean

Returns true when this value is greater than that by compare.

Returns true when this value is greater than that by compare.

Attributes

Inherited from:
PrimitiveValue
Source
PrimitiveValue.scala
final def >=(that: PrimitiveValue): Boolean

Returns true when this value is greater than or equal to that by compare.

Returns true when this value is greater than or equal to that by compare.

Attributes

Inherited from:
PrimitiveValue
Source
PrimitiveValue.scala
def fromProduct(p: Product): MirroredMonoType

Creates a new instance of type T with elements taken from product p.

Creates a new instance of type T with elements taken from product p.

Attributes

Inherited from:
Singleton
Source
Mirror.scala
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