sealed abstract class HeaderDeserializer[A] extends AnyRef
HeaderDeserializer is a functional deserializer for Kafka record header values. It's similar
to Deserializer, except it only has access to the header bytes, and it does not interoperate
with the Kafka Deserializer
interface.
- Source
- HeaderDeserializer.scala
- Alphabetic
- By Inheritance
- HeaderDeserializer
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- final def attempt: Attempt[A]
Creates a new HeaderDeserializer which catches any non-fatal exceptions during deserialization with this HeaderDeserializer.
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def delay: HeaderDeserializer[Eval[A]]
Creates a new HeaderDeserializer which does deserialization lazily by wrapping this HeaderDeserializer in
Eval.always
. - final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def flatMap[B](f: (A) => HeaderDeserializer[B]): HeaderDeserializer[B]
Creates a new HeaderDeserializer using the result of this HeaderDeserializer and the specified function.
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def map[B](f: (A) => B): HeaderDeserializer[B]
Creates a new HeaderDeserializer which applies the specified function
f
to the result of this HeaderDeserializer. - final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def option: HeaderDeserializer[Option[A]]
Creates a new HeaderDeserializer which returns
None
when the bytes arenull
, and otherwise returns the result of this HeaderDeserializer wrapped inSome
. - final def product[B](that: HeaderDeserializer[B]): HeaderDeserializer[(A, B)]
Creates a new HeaderDeserializer which deserializes both using this HeaderDeserializer and that HeaderDeserializer, and returns both results in a tuple.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()