Package

com.spotify.scio

avro

Permalink

package avro

Main package for Avro APIs. Import all.

import com.spotify.scio.avro._
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. avro
  2. Syntax
  3. SCollectionSyntax
  4. ScioContextSyntax
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. sealed trait AvroIO[T] extends ScioIO[T]

    Permalink
  2. final case class AvroTaps(self: Taps) extends Product with Serializable

    Permalink
  3. final case class GenericRecordIO(path: String, schema: Schema) extends AvroIO[GenericRecord] with Product with Serializable

    Permalink
  4. final case class GenericRecordParseIO[T](path: String, parseFn: (GenericRecord) ⇒ T)(implicit coder: Coder[T]) extends AvroIO[T] with Product with Serializable

    Permalink

    Given a parseFn, read GenericRecord and apply a function mapping => T before producing output.

    Given a parseFn, read GenericRecord and apply a function mapping => T before producing output. This IO applies the function at the time of de-serializing Avro GenericRecords.

    This IO doesn't define write, and should not be used to write Avro GenericRecords.

  5. final case class GenericRecordParseTap[T](path: String, parseFn: (GenericRecord) ⇒ T)(implicit evidence$4: Coder[T]) extends Tap[T] with Product with Serializable

    Permalink

    Tap for reading GenericRecord Avro files and applying a parseFn to parse it to the given type T

  6. final case class GenericRecordTap(path: String, schema: Schema) extends Tap[GenericRecord] with Product with Serializable

    Permalink

    Tap for GenericRecord Avro files.

  7. final case class ObjectFileIO[T](path: String)(implicit evidence$1: Coder[T]) extends ScioIO[T] with Product with Serializable

    Permalink
  8. case class ObjectFileTap[T](path: String)(implicit evidence$5: Coder[T]) extends Tap[T] with Product with Serializable

    Permalink

    Tap for object files.

    Tap for object files. Note that serialization is not guaranteed to be compatible across Scio releases.

  9. final case class ProtobufIO[T <: Message](path: String)(implicit evidence$2: ClassTag[T]) extends ScioIO[T] with Product with Serializable

    Permalink
  10. final case class ReflectiveRecordTap[T](path: String, schema: Schema)(implicit evidence$1: Coder[T]) extends Tap[T] with Product with Serializable

    Permalink

    Tap for GenericRecord Avro files.

  11. final case class SpecificRecordIO[T <: SpecificRecord](path: String)(implicit evidence$3: ClassTag[T], evidence$4: Coder[T]) extends AvroIO[T] with Product with Serializable

    Permalink
  12. final case class SpecificRecordTap[T <: SpecificRecord](path: String)(implicit evidence$2: ClassTag[T], evidence$3: Coder[T]) extends Tap[T] with Product with Serializable

    Permalink

    Tap for SpecificRecord Avro files.

  13. type doc = avro.types.doc

    Permalink

    Annotation for Avro field and record documentation.

  14. final case class ReflectiveRecordIO[T](path: String, schema: Schema)(implicit evidence$5: Coder[T]) extends AvroIO[T] with Product with Serializable

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.8.0) The use of reflective records is discouraged. Consider converting to GenericRecord explicitly

Value Members

  1. object AvroIO

    Permalink
  2. object AvroSysProps extends SysProps

    Permalink
  3. val AvroType: avro.types.AvroType.type

    Permalink

    Typed Avro annotations and converters.

  4. object AvroTyped

    Permalink
  5. object ObjectFileIO extends Serializable

    Permalink
  6. object ProtobufIO extends Serializable

    Permalink
  7. implicit def avroGenericRecordSCollectionOps(c: SCollection[GenericRecord]): GenericRecordSCollectionOps

    Permalink
    Definition Classes
    SCollectionSyntax
  8. implicit def avroObjectFileSCollectionOps[T](c: SCollection[T]): ObjectFileSCollectionOps[T]

    Permalink
    Definition Classes
    SCollectionSyntax
  9. implicit def avroProtobufSCollectionOps[T <: Message](c: SCollection[T]): ProtobufSCollectionOps[T]

    Permalink
    Definition Classes
    SCollectionSyntax
  10. implicit def avroScioContextOps(c: ScioContext): ScioContextOps

    Permalink
    Definition Classes
    ScioContextSyntax
  11. implicit def avroSpecificRecordSCollectionOps[T <: SpecificRecord](c: SCollection[T]): SpecificRecordSCollectionOps[T]

    Permalink
    Definition Classes
    SCollectionSyntax
  12. implicit def avroTypedAvroSCollectionOps[T <: HasAvroAnnotation](c: SCollection[T]): TypedAvroSCollectionOps[T]

    Permalink
    Definition Classes
    SCollectionSyntax
  13. package syntax

    Permalink
  14. package types

    Permalink
  15. implicit def unsafeAvroReflectiveRecordSCollectionOps[T](c: SCollection[T])(implicit arg0: Coder[T]): UnsafeReflectiveRecordSCollectionOps[T]

    Permalink
    Definition Classes
    SCollectionSyntax

Inherited from Syntax

Inherited from SCollectionSyntax

Inherited from ScioContextSyntax

Inherited from AnyRef

Inherited from Any

Ungrouped