package schema
- Alphabetic
- Public
- Protected
Type Members
- trait AccessorBuilder extends AnyRef
- sealed trait Append[EnumType, -Left, -Right] extends AnyRef
- trait AppendLowPriority extends AppendLowPriority2
- trait AppendLowPriority2 extends AnyRef
- sealed trait CaseSet extends AnyRef
- trait DefaultJavaTimeSchemas extends AnyRef
- sealed trait Diff[A] extends AnyRef
- trait Differ[A] extends AnyRef
- sealed trait DynamicValue extends AnyRef
- sealed trait EnumSchemas extends AnyRef
- sealed trait FieldSet extends AnyRef
- sealed trait RecordSchemas extends AnyRef
- sealed trait Schema[A] extends AnyRef
A
Schema[A]
describes the structure of some data typeA
, 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 typeA
, 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] }
- trait SchemaEquality extends AnyRef
- trait SchemaSyntax extends AnyRef
- sealed trait StandardType[A] extends Ordering[A]
- sealed trait TupleSchemas extends AnyRef
Value Members
- object Append extends AppendLowPriority
- object CaseSet
- object Cons0
- object Diff
- object Differ
- object DynamicValue
- object FieldSet
- object Schema extends TupleSchemas with RecordSchemas with EnumSchemas with SchemaEquality
- object SchemaOrdering
- object StandardType extends Serializable
- object syntax extends SchemaSyntax