Packages

final case class LazySchema[A](suspend: Lazy[Schema[A]]) extends Schema[A] with Product with Serializable

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LazySchema
  2. Serializable
  3. Product
  4. Equals
  5. Schema
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new LazySchema(suspend: Lazy[Schema[A]])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def addHints(hints: Hints): Schema[A]
    Definition Classes
    Schema
  5. final def addHints(hints: Hint*): Schema[A]
    Definition Classes
    Schema
  6. final def addMemberHints(hints: Hints): Schema[A]
    Definition Classes
    Schema
  7. final def addMemberHints(hints: Hint*): Schema[A]
    Definition Classes
    Schema
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. final def biject[B](to: (A) => B)(from: (B) => A): Schema[B]
    Definition Classes
    Schema
  10. final def biject[B](bijection: Bijection[A, B]): Schema[B]
    Definition Classes
    Schema
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  12. final def compile[F[_]](fk: ~>[Schema, F]): F[A]
    Definition Classes
    Schema
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def error(unlift: (A) => Throwable)(lift: PartialFunction[Throwable, A]): ErrorSchema[A]

    Turns this schema into an error schema.

    Turns this schema into an error schema.

    Definition Classes
    Schema
  15. final def field[Struct]: PartiallyAppliedField[Struct, A]
    Definition Classes
    Schema
  16. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  17. final def findPayload(find: (Field[_, _]) => Boolean): SchemaPartition[A]

    Finds the first field that matches the criteria used, and applies a bijection between the schema it holds and partial data, which ensures for the field's schema to be used as "top level" when decoding "payloads".

    Finds the first field that matches the criteria used, and applies a bijection between the schema it holds and partial data, which ensures for the field's schema to be used as "top level" when decoding "payloads".

    NB : a "payload" is typically a whole set of data, without a typical field-based splitting into subparts. This can be, for instance, an http body.

    Definition Classes
    Schema
  18. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. final def getDefault: Option[Document]
    Definition Classes
    Schema
  20. final def getDefaultValue: Option[A]
    Definition Classes
    Schema
  21. def hints: Hints
    Definition Classes
    LazySchemaSchema
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. final def isOption: Boolean
    Definition Classes
    Schema
  24. final def isPrimitive[P](prim: Primitive[P]): Boolean

    Finds whether a schema (or the underlying schema in the case of bijections/surjections, etc) is a primitive of a certain type.

    Finds whether a schema (or the underlying schema in the case of bijections/surjections, etc) is a primitive of a certain type.

    Definition Classes
    Schema
  25. final def isUnit: Boolean

    Checks whether a schema is Unit or an empty structure

    Checks whether a schema is Unit or an empty structure

    Definition Classes
    Schema
  26. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  29. final def nullable: Schema[Nullable[A]]
    Definition Classes
    Schema
  30. final def oneOf[Union]: PartiallyAppliedOneOf[Union, A]
    Definition Classes
    Schema
  31. final def option: Schema[Option[A]]
    Definition Classes
    Schema
  32. final def optional[Struct]: PartiallyAppliedOptional[Struct, A]
    Definition Classes
    Schema
  33. final def partition(filter: (Field[_, _]) => Boolean): SchemaPartition[A]

    When applied on a structure schema, creates a schema that, when compiled into a codec, will only encode/decode a subset of the data, based on the hints of each field.

    When applied on a structure schema, creates a schema that, when compiled into a codec, will only encode/decode a subset of the data, based on the hints of each field.

    This can be used to only encode some fields of the data into the http body

    Returns a SchemaPartition that indicates whether : * no field match the condition * some fields match the condition * all fields match the condition

    Definition Classes
    Schema
  34. def productElementNames: Iterator[String]
    Definition Classes
    Product
  35. final def refined[B]: PartiallyAppliedRefinement[A, B]
    Definition Classes
    Schema
  36. final def required[Struct]: PartiallyAppliedRequired[Struct, A]
    Definition Classes
    Schema
  37. def shapeId: ShapeId
    Definition Classes
    LazySchemaSchema
  38. val suspend: Lazy[Schema[A]]
  39. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  40. final def transformHintsLocally(f: (Hints) => Hints): Schema[A]
    Definition Classes
    Schema
  41. final def transformHintsTransitively(f: (Hints) => Hints): Schema[A]
    Definition Classes
    Schema
  42. def transformTransitivelyK(f: ~>[Schema, Schema]): Schema[A]
    Definition Classes
    Schema
  43. final def validated[C](c: C)(implicit constraint: Simple[C, A]): Schema[A]
    Definition Classes
    Schema
  44. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  45. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  46. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  47. final def withId(namespace: String, name: String): Schema[A]
    Definition Classes
    Schema
  48. final def withId(newId: ShapeId): Schema[A]
    Definition Classes
    Schema

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Schema[A]

Inherited from AnyRef

Inherited from Any

Ungrouped