p

zio

schema

package schema

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. trait AccessorBuilder extends AnyRef
  2. sealed trait Append[EnumType, -Left, -Right] extends AnyRef
  3. trait AppendLowPriority extends AppendLowPriority2
  4. trait AppendLowPriority2 extends AnyRef
  5. sealed trait CaseSet extends AnyRef
  6. trait DefaultJavaTimeSchemas extends AnyRef
  7. sealed trait Diff[A] extends AnyRef
  8. trait Differ[A] extends AnyRef
  9. sealed trait DynamicValue extends AnyRef
  10. sealed trait FieldSet extends AnyRef
  11. sealed trait Schema[A] extends AnyRef

    A Schema[A] describes the structure of some data type A, in terms of case classes, enumerations (sealed traits), collections, and various primitive types (including not only Scala's own primitive types, but enhanced with java.time and big integers / decimals).

    A Schema[A] describes the structure of some data type A, in terms of case classes, enumerations (sealed traits), collections, and various primitive types (including not only Scala's own primitive types, but enhanced with java.time and big integers / decimals).

    Schemas models the structure of data types as first class values, so they can be introspected, transformed, and combined using ordinary Scala code, without macros, metaprogramming, or codegen.

    There are implicit schemas provided for all standard Scala types, and you can automatically derive schemas for your own data types by using DeriveSchema.gen[A]. Whether you write them by hand by using constructors and operators,

    final case class Person(name: String, age: Int)
    object Person {
      implicit val personSchema: Schema[Person] = DeriveSchema.gen[Person]
    }
  12. trait SchemaEquality extends AnyRef
  13. trait SchemaSyntax extends AnyRef
  14. sealed trait StandardType[A] extends Ordering[A]
  15. sealed trait TypeId extends AnyRef

Ungrouped