DocumentDecoderSchemaVisitor

smithy4s.internals.DocumentDecoderSchemaVisitor

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

Type members

Classlikes

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Value members

Concrete methods

override def biject[A, B](schema: Schema[A], bijection: Bijection[A, B]): DocumentDecoder[B]

Attributes

Definition Classes
override def collection[C[_], A](shapeId: ShapeId, hints: Hints, tag: CollectionTag[C], member: Schema[A]): DocumentDecoder[C[A]]

Attributes

Definition Classes
override def enumeration[E](shapeId: ShapeId, hints: Hints, values: List[EnumValue[E]], total: E => EnumValue[E]): DocumentDecoder[E]

Attributes

Definition Classes
def from[A](expectedType: String)(f: PartialFunction[Document, A]): DocumentDecoder[A]
def fromUnsafe[A](expectedType: String)(f: PartialFunction[Document, A]): DocumentDecoder[A]
override def lazily[A](suspend: Lazy[Schema[A]]): DocumentDecoder[A]

Attributes

Definition Classes
override def map[K, V](shapeId: ShapeId, hints: Hints, key: Schema[K], value: Schema[V]): DocumentDecoder[Map[K, V]]

Attributes

Definition Classes
override def primitive[P](shapeId: ShapeId, hints: Hints, tag: Primitive[P]): DocumentDecoder[P]

Attributes

Definition Classes
override def refine[A, B](schema: Schema[A], refinement: Refinement[A, B]): DocumentDecoder[B]

Attributes

Definition Classes
override def struct[S](shapeId: ShapeId, hints: Hints, fields: Vector[Field[Schema, S, _]], make: IndexedSeq[Any] => S): DocumentDecoder[S]

Attributes

Definition Classes
override def union[U](shapeId: ShapeId, hints: Hints, alternatives: Vector[Alt[Schema, U, _]], dispatch: Dispatcher[Schema, U]): DocumentDecoder[U]

Attributes

Definition Classes

Inherited methods

final def andThen[H[_]](other: PolyFunction[DocumentDecoder, H]): PolyFunction[F, H]

Attributes

Inherited from:
PolyFunction
override def apply[A](schema: Schema[A]): F[A]

Attributes

Definition Classes
Inherited from:
Cached
final def mapK[H[_]](fk: PolyFunction[DocumentDecoder, H]): PolyFunction[F, H]

Attributes

Inherited from:
PolyFunction
final def unsafeCache(allPossibleInputs: Vector[Existential[Schema]]): PolyFunction[F, G]

Pre-computes the polyfunction by applying it on a vector of possible inputs.

Pre-computes the polyfunction by applying it on a vector of possible inputs.

Unsafe because calling the resulting polyfunction with an input that wasn't cached will result in an exception.

Attributes

Inherited from:
PolyFunction
final def unsafeMemoise: PolyFunction[F, G]

Creates a memoised version of this function.

Creates a memoised version of this function.

Unsafe because it creates mutable state, which is a non-referentially-transparent action (aka a side-effect).

Attributes

Inherited from:
PolyFunction