Object/Class

fs2.kafka

Deserializer

Related Docs: class Deserializer | package kafka

Permalink

object Deserializer

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Deserializer
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type Attempt[A] = Deserializer[Either[Throwable, A]]

    Permalink

    Alias for Deserializer[Either[Throwable, A]].

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def apply[A](implicit deserializer: Deserializer[A]): Deserializer[A]

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def attempt[A](implicit deserializer: Attempt[A]): Attempt[A]

    Permalink
  7. implicit val bytes: Deserializer[Bytes]

    Permalink
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def const[A](a: A): Deserializer[A]

    Permalink

    Creates a new Deserializer which deserializes all bytes to the specified value of type A.

  10. def delegate[A](deserializer: KafkaDeserializer[A]): Deserializer[A]

    Permalink

    Creates a new Deserializer which delegates deserialization to the specified Kafka Deserializer.

    Creates a new Deserializer which delegates deserialization to the specified Kafka Deserializer. Note that the close and configure functions won't be called for the delegate.

  11. implicit val double: Attempt[Double]

    Permalink
  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. implicit val float: Attempt[Float]

    Permalink
  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  18. def headers[A](f: (Headers) ⇒ Deserializer[A]): Deserializer[A]

    Permalink

    Creates a new Deserializer which can use different Deserializers depending on the record headers.

  19. implicit val identity: Deserializer[Array[Byte]]

    Permalink

    The identity Deserializer, which does not perform any kind of deserialization, simply using the input bytes as the output.

  20. def instance[A](f: (String, Headers, Array[Byte]) ⇒ A): Deserializer[A]

    Permalink

    Creates a new Deserializer from the specified function.

    Creates a new Deserializer from the specified function. Use lift instead if the deserializer doesn't need access to the Kafka topic name or record headers.

  21. implicit val int: Attempt[Int]

    Permalink
  22. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  23. def lift[A](f: (Array[Byte]) ⇒ A): Deserializer[A]

    Permalink

    Creates a new Deserializer from the specified function, ignoring from which Kafka topic the bytes came and any record headers.

    Creates a new Deserializer from the specified function, ignoring from which Kafka topic the bytes came and any record headers. Use instance instead if the deserializer needs access to the Kafka topic name or the record headers.

  24. implicit val long: Attempt[Long]

    Permalink
  25. implicit val monad: Monad[Deserializer]

    Permalink
  26. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  27. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  28. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  29. implicit def option[A](implicit deserializer: Deserializer[A]): Deserializer[Option[A]]

    Permalink

    The option Deserializer returns None when the bytes are null, and otherwise deserializes using the deserializer for the type A, wrapping the result in Some.

  30. implicit val short: Attempt[Short]

    Permalink
  31. def string(charset: Charset): Deserializer[String]

    Permalink

    Creates a new Deserializer which deserializes String values using the specified Charset.

    Creates a new Deserializer which deserializes String values using the specified Charset. Note that the default String deserializer uses UTF-8.

  32. implicit val string: Deserializer[String]

    Permalink
  33. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  34. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  35. def topic[A](f: (String) ⇒ Deserializer[A]): Deserializer[A]

    Permalink

    Creates a new Deserializer which can use different Deserializers depending on the Kafka topic name from which the serialized bytes came.

  36. implicit val unit: Deserializer[Unit]

    Permalink
  37. def uuid(charset: Charset): Attempt[UUID]

    Permalink

    Creates a new Deserializer which deserializes String values using the specified Charset as UUIDs.

    Creates a new Deserializer which deserializes String values using the specified Charset as UUIDs. Note that the default UUID deserializer uses UTF-8.

  38. implicit val uuid: Attempt[UUID]

    Permalink
  39. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped