package schema
- Alphabetic
- By Inheritance
- schema
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- final case class Alt[U, A](label: String, schema: Schema[A], inject: (A) => U, project: PartialFunction[U, A]) extends Product with Serializable
Represents a member of coproduct type (sealed trait)
- trait CachedSchemaCompiler[+F[_]] extends AnyRef
- sealed trait CollectionTag[C[_]] extends AnyRef
- trait CompilationCache[F[_]] extends AnyRef
- sealed trait EnumTag[+E] extends AnyRef
- case class EnumValue[E](stringValue: String, intValue: Int, value: E, name: String, hints: Hints) extends Product with Serializable
- case class ErrorSchema[E] extends Product with Serializable
An ErrorSchema is similar to a UnionSchema in that it exposes
alternatives
andordinal
values, and therefore can be manipulated similarly to UnionSchemas.An ErrorSchema is similar to a UnionSchema in that it exposes
alternatives
andordinal
values, and therefore can be manipulated similarly to UnionSchemas.Additionally, it carries functions to go from E to Throwable and vice-versa. This is used by interpreters to inject data into error channels of effect types, or to recover data from an error-channel prior to serialisation.
- final case class Field[S, A](label: String, schema: Schema[A], get: (S) => A) extends Product with Serializable
Represents a member of product type (case class)
- final case class OperationSchema[I, E, O, SI, SO] extends Product with Serializable
- class PartiallyAppliedStruct[S] extends AnyRef
- class PartiallyAppliedTuple extends AnyRef
- final class PartiallyAppliedUnion[U] extends AnyVal
- sealed trait Primitive[T] extends AnyRef
- type Repr[A] = String
- sealed trait Schema[A] extends AnyRef
- sealed trait SchemaPartition[A] extends AnyRef
A structure indicating the match result of running
Schema#partition
against a given predicateA structure indicating the match result of running
Schema#partition
against a given predicate- if the schema is not of a structure, or if none of the fields matched, then
NoMatch
should be returned - if the schema is a structure and only a subset of its fields pass the predicate, then
PartialMatch
should be returned - if the schema is a structure and all of its fields pass the predicate, then
TotalMatch
should be returned
- if the schema is not of a structure, or if none of the fields matched, then
- trait SchemaVisitor[F[_]] extends ~>[Schema, F]
- case class StreamingSchema[A](fieldName: String, schema: Schema[A]) extends Product with Serializable
Value Members
- object Alt extends Serializable
- object CachedSchemaCompiler
- object CollectionTag
- object CompilationCache
- object EnumTag
- object ErrorSchema extends Serializable
- object Field extends Serializable
- object Primitive extends ScalaCompat
- object Schema
- object SchemaPartition
- object SchemaVisitor