Object/Class

fs2.kafka

Serializer

Related Docs: class Serializer | package kafka

Permalink

object Serializer

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

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 serializer: Serializer[A]): Serializer[A]

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def asNull[A]: Serializer[A]

    Permalink

    Creates a new Serializer which serializes all values of type A as null.

  7. implicit val bytes: Serializer[Bytes]

    Permalink
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def const[A](bytes: Array[Byte]): Serializer[A]

    Permalink

    Creates a new Serializer which serializes all values of type A to the specified bytes.

  10. implicit val contravariant: Contravariant[Serializer]

    Permalink
  11. def delegate[A](serializer: KafkaSerializer[A]): Serializer[A]

    Permalink

    Creates a new Serializer which delegates serialization to the specified Kafka Serializer.

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

  12. implicit val double: Serializer[Double]

    Permalink
  13. def empty[A]: Serializer[A]

    Permalink

    Creates a new Serializer which serializes all values of type A as the empty Array[Byte].

  14. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

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

    Permalink

    Creates a new Serializer which can use different Serializers depending on the record headers.

  21. implicit val identity: Serializer[Array[Byte]]

    Permalink

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

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

    Permalink

    Creates a new Serializer from the specified function.

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

  23. implicit val int: Serializer[Int]

    Permalink
  24. final def isInstanceOf[T0]: Boolean

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

    Permalink

    Creates a new Serializer from the specified function, ignoring to which Kafka topic the bytes are going to be sent and any record headers.

    Creates a new Serializer from the specified function, ignoring to which Kafka topic the bytes are going to be sent and any record headers. Use instance instead if the serializer needs access to the Kafka topic name or the record headers.

  26. implicit val long: Serializer[Long]

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

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

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

    Permalink
    Definition Classes
    AnyRef
  30. implicit def option[A](implicit serializer: Serializer[A]): Serializer[Option[A]]

    Permalink

    The option Serializer serializes None as null, and serializes Some values using the serializer for type A.

  31. implicit val short: Serializer[Short]

    Permalink
  32. def string(charset: Charset): Serializer[String]

    Permalink

    Creates a new Serializer which serializes String values using the specified Charset.

    Creates a new Serializer which serializes String values using the specified Charset. Note that the default String serializer uses UTF-8.

  33. implicit val string: Serializer[String]

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

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

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

    Permalink

    Creates a new Serializer which can use different Serializers depending on the Kafka topic name to which the bytes are going to be sent.

  37. implicit val unit: Serializer[Unit]

    Permalink
  38. def uuid(charset: Charset): Serializer[UUID]

    Permalink

    Creates a new Serializer which serializes UUID values as Strings with the specified Charset.

    Creates a new Serializer which serializes UUID values as Strings with the specified Charset. Note that the default UUID serializer uses UTF-8.

  39. implicit val uuid: Serializer[UUID]

    Permalink
  40. final def wait(): Unit

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped