com.twitter.bijection

avro

package avro

Visibility
  1. Public
  2. All

Type Members

  1. class BinaryAvroCodec[T] extends Injection[T, Array[Byte]]

    Provides methods to serializing and deserializing a generic and compiled avro record using org.apache.avro.io.BinaryEncoder

    Provides methods to serializing and deserializing a generic and compiled avro record using org.apache.avro.io.BinaryEncoder

    T

    avro record

  2. class GenericAvroCodec[T <: GenericRecord] extends Injection[T, Array[Byte]]

    Provides methods to serialize and deserialize generic avro record.

    Provides methods to serialize and deserialize generic avro record.

    T

    generic record

  3. class JsonAvroCodec[T] extends Injection[T, String]

    Provides methods to serializing and deserializing a generic and compiled avro record using org.apache.avro.io.JsonEncoder to a UTF-8 String

    Provides methods to serializing and deserializing a generic and compiled avro record using org.apache.avro.io.JsonEncoder to a UTF-8 String

    T

    avro record

    Exceptions thrown

    RuntimeException if Avro Records cannot be converted to a UTF-8 String

  4. class SpecificAvroCodec[T <: SpecificRecordBase] extends Injection[T, Array[Byte]]

    Provides methods to serialize and deserialize complied avro record.

    Provides methods to serialize and deserialize complied avro record.

    T

    compiled record

Value Members

  1. object GenericAvroCodecs

  2. object SpecificAvroCodecs

    Factory providing various avro injections.

    Factory providing various avro injections.

    Since

    7/4/13

Ungrouped