Package

com.spotify.scio

coders

Permalink

package coders

Visibility
  1. Public
  2. All

Type Members

  1. final case class Beam[T] extends Coder[T] with Product with Serializable

    Permalink
  2. sealed trait Coder[T] extends Serializable

    Permalink
    Annotations
    @implicitNotFound( ... )
  3. sealed trait CoderGrammar extends AnyRef

    Permalink

    Coder Grammar is used to explicitly specify Coder derivation for types used in pipelines.

    Coder Grammar is used to explicitly specify Coder derivation for types used in pipelines.

    The CoderGrammar can be used as follows: - To find the Coder being implicitly derived by Scio. (Debugging)

    def c: Coder[MyType] = Coder[MyType]

    - To generate an implicit instance to be in scope for type T, use Coder.gen

    implicit def coderT: Coder[T] = Coder.gen[T]

    Note: Implicit Coders for all parameters of the constructor of type T should be in scope for Coder.gen to be able to derive the Coder.

    - To define a Coder of custom type, where the type can be mapped to some other type for which a Coder is known, use Coder.xmap

    - To explicitly use kryo Coder use Coder.kryo

  4. final case class Disjunction[T, Id] extends Coder[T] with Product with Serializable

    Permalink
  5. final case class Fallback[T] extends Coder[T] with Product with Serializable

    Permalink
  6. final case class KVCoder[K, V] extends Coder[KV[K, V]] with Product with Serializable

    Permalink
  7. trait LowPriorityCoderDerivation extends AnyRef

    Permalink
  8. final case class Record[T] extends Coder[T] with Product with Serializable

    Permalink
  9. final case class Transform[A, B] extends Coder[B] with Product with Serializable

    Permalink

Ungrouped