SchemaVisitorHash

smithy4s.interopcats.SchemaVisitorHash
See theSchemaVisitorHash companion object
final class SchemaVisitorHash(val cache: CompilationCache[Hash]) extends Cached[Hash]

Attributes

Companion
object
Graph
Supertypes
class Cached[Hash]
trait SchemaVisitor[Hash]
trait PolyFunction[Schema, Hash]
class Object
trait Matchable
class Any
Show all
Self type

Members list

Value members

Concrete methods

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

Attributes

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

Attributes

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

Attributes

Definition Classes
SchemaVisitor
override def lazily[A](suspend: Lazy[Schema[A]]): Hash[A]

Attributes

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

Attributes

Definition Classes
SchemaVisitor
override def option[A](schema: Schema[A]): Hash[Option[A]]

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

Definition Classes
SchemaVisitor

Inherited methods

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

Attributes

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

Attributes

Definition Classes
Cached -> SchemaVisitor -> PolyFunction
Inherited from:
Cached
final def compose[H[_]](other: PolyFunction[H, Schema]): PolyFunction[H, G]

Attributes

Inherited from:
PolyFunction
final def narrow[F0 <: (Schema)]: PolyFunction[F0, G]

Attributes

Inherited from:
PolyFunction
final def widen[G0[a0]]: PolyFunction[F, G0]

Attributes

Inherited from:
PolyFunction

Concrete fields

val cache: CompilationCache[Hash]