t

zio.schema.Schema

Collection

sealed trait Collection[Col, Elem] extends Schema[Col]

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Collection
  2. Schema
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. abstract type Accessors[Lens[_, _, _], Prism[_, _, _], Traversal[_, _]]
    Definition Classes
    Schema

Abstract Value Members

  1. abstract def annotate(annotation: Any): Schema[Col]

    Returns a new schema that with annotation

    Returns a new schema that with annotation

    Definition Classes
    Schema
  2. abstract def annotations: Chunk[Any]

    Chunk of annotations for this schema

    Chunk of annotations for this schema

    Definition Classes
    Schema
  3. abstract def defaultValue: scala.util.Either[String, Col]

    The default value for a Schema of type A.

    The default value for a Schema of type A.

    Definition Classes
    Schema
  4. abstract def makeAccessors(b: AccessorBuilder): Accessors[Lens, Prism, Traversal]
    Definition Classes
    Schema

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def <*>[B](that: Schema[B]): Schema[(Col, B)]

    A symbolic operator for zip.

    A symbolic operator for zip.

    Definition Classes
    Schema
  4. def <+>[B](that: Schema[B]): Schema[scala.util.Either[Col, B]]

    A symbolic operator for orElseEither.

    A symbolic operator for orElseEither.

    Definition Classes
    Schema
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. def ?: Schema[Option[Col]]

    A symbolic operator for optional.

    A symbolic operator for optional.

    Definition Classes
    Schema
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def ast: MetaSchema
    Definition Classes
    Schema
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  10. def coerce[B](newSchema: Schema[B]): scala.Either[String, Schema[B]]

    Convert to Schema[B] iff B and A are homomorphic.

    Convert to Schema[B] iff B and A are homomorphic.

    This can be used to e.g convert between a case class and it's "generic" representation as a ListMap[String,_]

    Definition Classes
    Schema
  11. def diff(thisValue: Col, thatValue: Col): Patch[Col]

    Performs a diff between thisValue and thatValue.

    Performs a diff between thisValue and thatValue. See zio.schema.Differ for details on the default diff algorithms.

    Definition Classes
    Schema
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  15. def fromDynamic(value: DynamicValue): scala.util.Either[String, Col]
    Definition Classes
    Schema
  16. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. def migrate[B](newSchema: Schema[B]): scala.Either[String, (Col) => scala.util.Either[String, B]]

    Generate a homomorphism from A to B iff A and B are homomorphic

    Generate a homomorphism from A to B iff A and B are homomorphic

    Definition Classes
    Schema
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. def optional: Schema[Option[Col]]

    Returns a new schema that modifies the type produced by this schema to be optional.

    Returns a new schema that modifies the type produced by this schema to be optional.

    Definition Classes
    Schema
  24. def orElseEither[B](that: Schema[B]): Schema[scala.util.Either[Col, B]]

    Returns a new schema that combines this schema and the specified schema together, modeling their either composition.

    Returns a new schema that combines this schema and the specified schema together, modeling their either composition.

    Definition Classes
    Schema
  25. def ordering: Ordering[Col]
    Definition Classes
    Schema
  26. def patch(oldValue: Col, diff: Patch[Col]): scala.util.Either[String, Col]

    Patch value with a Patch.

    Patch value with a Patch.

    Definition Classes
    Schema
  27. def repeated: Schema[Chunk[Col]]
    Definition Classes
    Schema
  28. def serializable: Schema[Schema[Col]]
    Definition Classes
    Schema
  29. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  30. def toDynamic(value: Col): DynamicValue
    Definition Classes
    Schema
  31. def toString(): String
    Definition Classes
    AnyRef → Any
  32. def transform[B](f: (Col) => B, g: (B) => Col)(implicit loc: SourceLocation): Schema[B]

    Transforms this Schema[A] into a Schema[B], by supplying two functions that can transform between A and B, without possibility of failure.

    Transforms this Schema[A] into a Schema[B], by supplying two functions that can transform between A and B, without possibility of failure.

    Definition Classes
    Schema
  33. def transformOrFail[B](f: (Col) => scala.util.Either[String, B], g: (B) => scala.util.Either[String, Col])(implicit loc: SourceLocation): Schema[B]

    Transforms this Schema[A] into a Schema[B], by supplying two functions that can transform between A and B (possibly failing in some cases).

    Transforms this Schema[A] into a Schema[B], by supplying two functions that can transform between A and B (possibly failing in some cases).

    Definition Classes
    Schema
  34. def validate(value: Col)(implicit schema: Schema[Col]): Chunk[ValidationError]
    Definition Classes
    Schema
  35. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  36. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  37. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  38. def zip[B](that: Schema[B]): Schema[(Col, B)]

    Returns a new schema that combines this schema and the specified schema together, modeling their tuple composition.

    Returns a new schema that combines this schema and the specified schema together, modeling their tuple composition.

    Definition Classes
    Schema

Inherited from Schema[Col]

Inherited from AnyRef

Inherited from Any

Ungrouped