Package

com.snowplowanalytics.iglu.core

typeclasses

Permalink

package typeclasses

Visibility
  1. Public
  2. All

Type Members

  1. trait ExtractSchemaKey[E] extends AnyRef

    Permalink

    This type class can be instantiated for any type E which can bear its description as SchemaKey

    This type class can be instantiated for any type E which can bear its description as SchemaKey

    It particularly useful for validation/data extraction apps which need to *extract* instance/schema description.

    E

    entity type, mostly intended for various JSON ADTs, like Json4s, Jackson, circe, Argonaut etc, but also can be anything that can bear reference to its description like Thrift, Map[String, String] etc

  2. trait ExtractSchemaMap[E] extends AnyRef

    Permalink

    This type class can be instantiated for any type E which can bear its description as SchemaKey

    This type class can be instantiated for any type E which can bear its description as SchemaKey

    It particularly useful for validation/data extraction apps which need to *extract* instance/schema description.

    E

    entity type, mostly intended for various JSON ADTs, like Json4s, Jackson, circe, Argonaut etc, but also can be anything that can bear reference to its description like Thrift, Map[String, String] etc

  3. trait NormalizeData[D] extends AnyRef

    Permalink

    Type class to render data into it base type D and lowest-level (String) common for all aps

    Type class to render data into it base type D and lowest-level (String) common for all aps

    D

    generic type in which instance can be represented

  4. trait NormalizeSchema[S] extends AnyRef

    Permalink

    Type class to render Schema into its base type S and lowest-level (String) common for all aps

    Type class to render Schema into its base type S and lowest-level (String) common for all aps

    S

    generic type in which Schema can be represented

  5. trait StringifyData[D] extends AnyRef

    Permalink

    Type class to render container with Schema to String

    Type class to render container with Schema to String

    D

    generic type in which data instance can be represented

  6. trait StringifySchema[S] extends AnyRef

    Permalink

    Type class to render container with Schema to String

    Type class to render container with Schema to String

    S

    generic type in which Schema can be represented

  7. trait ToData[E] extends AnyRef

    Permalink

    Mixin for ExtractSchemaKey marking that this particular instance of ExtractSchemaKey intended for extraction data, not Schemas

  8. trait ToSchema[E] extends AnyRef

    Permalink

    Mixin for ExtractSchemaMap marking that this particular instance intended for extraction Schemas, not instances

Ungrouped