Packages

package schema

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. schema
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. 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)

  2. trait CachedSchemaCompiler[+F[_]] extends AnyRef
  3. sealed trait CollectionTag[C[_]] extends AnyRef
  4. trait CompilationCache[F[_]] extends AnyRef
  5. sealed trait EnumTag[+E] extends AnyRef
  6. case class EnumValue[E](stringValue: String, intValue: Int, value: E, name: String, hints: Hints) extends Product with Serializable
  7. case class ErrorSchema[E] extends Product with Serializable

    An ErrorSchema is similar to a UnionSchema in that it exposes alternatives and ordinal values, and therefore can be manipulated similarly to UnionSchemas.

    An ErrorSchema is similar to a UnionSchema in that it exposes alternatives and ordinal 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.

  8. 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)

  9. final case class OperationSchema[I, E, O, SI, SO] extends Product with Serializable
  10. class PartiallyAppliedStruct[S] extends AnyRef
  11. class PartiallyAppliedTuple extends AnyRef
  12. final class PartiallyAppliedUnion[U] extends AnyVal
  13. sealed trait Primitive[T] extends AnyRef
  14. type Repr[A] = String
  15. sealed trait Schema[A] extends AnyRef
  16. sealed trait SchemaPartition[A] extends AnyRef

    A structure indicating the match result of running Schema#partition against a given predicate

    A 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
  17. trait SchemaVisitor[F[_]] extends ~>[Schema, F]
  18. case class StreamingSchema[A](fieldName: String, schema: Schema[A]) extends Product with Serializable

Value Members

  1. object Alt extends Serializable
  2. object CachedSchemaCompiler
  3. object CollectionTag
  4. object CompilationCache
  5. object EnumTag
  6. object ErrorSchema extends Serializable
  7. object Field extends Serializable
  8. object Primitive extends ScalaCompat
  9. object Schema
  10. object SchemaPartition
  11. object SchemaVisitor

Inherited from AnyRef

Inherited from Any

Ungrouped