Packages

c

com.twitter.bijection.avro

BinaryAvroCodec

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

T

avro record

Linear Supertypes
Injection[T, Array[Byte]], Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BinaryAvroCodec
  2. Injection
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BinaryAvroCodec(writer: DatumWriter[T], reader: DatumReader[T])

    writer

    Datum writer

    reader

    Datum reader

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def andThen[C](g: (Array[Byte]) ⇒ C): (T) ⇒ C
    Definition Classes
    Injection
  5. def andThen[C](bij: Bijection[Array[Byte], C]): Injection[T, C]
    Definition Classes
    Injection
  6. def andThen[C](g: Injection[Array[Byte], C]): Injection[T, C]
    Definition Classes
    Injection
  7. def apply(a: T): Array[Byte]
    Definition Classes
    BinaryAvroCodec → Injection
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  10. def compose[T](g: (T) ⇒ T): (T) ⇒ Array[Byte]
    Definition Classes
    Injection
  11. def compose[T](bij: Bijection[T, T]): Injection[T, Array[Byte]]
    Definition Classes
    Injection
  12. def compose[T](g: Injection[T, T]): Injection[T, Array[Byte]]
    Definition Classes
    Injection
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def invert(bytes: Array[Byte]): Attempt[T]
    Definition Classes
    BinaryAvroCodec → Injection
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  24. def toFunction: (T) ⇒ Array[Byte]
    Definition Classes
    Injection
  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Injection[T, Array[Byte]]

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped