Class

com.pagerduty.eris.serializers

ProductSerializer

Related Doc: package serializers

Permalink

class ProductSerializer[P <: Product] extends AbstractSerializer[P] with ValidatorClass

Allows to serialize tuples. Do not extend this class directly, use InferredSerializer instead:

import com.pagerduty.eris.serializers.implicits._
class MyTupleSerializer extends InferredSerializer[(Int, (String, Time))]
Linear Supertypes
ValidatorClass, AbstractSerializer[P], Serializer[P], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ProductSerializer
  2. ValidatorClass
  3. AbstractSerializer
  4. Serializer
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ProductSerializer(serializers: IndexedSeq[Serializer[Any]], factory: (IndexedSeq[Any]) ⇒ Product)

    Permalink

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. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def computeInitialHashSize(arg0: Int): Int

    Permalink
    Definition Classes
    AbstractSerializer
  7. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  9. val factory: (IndexedSeq[Any]) ⇒ Product

    Permalink
    Attributes
    protected
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def fromByteBuffer(bytes: ByteBuffer): P

    Permalink
    Definition Classes
    ProductSerializer → AbstractSerializer → Serializer
  12. def fromBytes(arg0: Array[Byte]): P

    Permalink
    Definition Classes
    AbstractSerializer → Serializer
  13. def fromBytesList(arg0: List[ByteBuffer]): List[P]

    Permalink
    Definition Classes
    AbstractSerializer → Serializer
  14. def fromBytesMap[V](arg0: Map[ByteBuffer, V]): Map[P, V]

    Permalink
    Definition Classes
    AbstractSerializer → Serializer
  15. def fromBytesSet(arg0: Set[ByteBuffer]): List[P]

    Permalink
    Definition Classes
    AbstractSerializer → Serializer
  16. def fromString(arg0: String): ByteBuffer

    Permalink
    Definition Classes
    AbstractSerializer → Serializer
  17. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  18. def getComparatorType(): ComparatorType

    Permalink
    Definition Classes
    ProductSerializer → AbstractSerializer → Serializer
  19. def getNext(arg0: ByteBuffer): ByteBuffer

    Permalink
    Definition Classes
    AbstractSerializer → Serializer
  20. def getString(arg0: ByteBuffer): String

    Permalink
    Definition Classes
    AbstractSerializer → Serializer
  21. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  22. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  23. def mkCompositeValidatorClass(validatorClasses: Seq[String]): String

    Permalink
    Attributes
    protected
  24. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  27. val serializers: IndexedSeq[Serializer[Any]]

    Permalink
    Attributes
    protected
  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  29. def toByteBuffer(product: P): ByteBuffer

    Permalink
    Definition Classes
    ProductSerializer → AbstractSerializer → Serializer
  30. def toBytes(arg0: P): Array[Byte]

    Permalink
    Definition Classes
    AbstractSerializer → Serializer
  31. def toBytesList(arg0: Iterable[P]): List[ByteBuffer]

    Permalink
    Definition Classes
    AbstractSerializer → Serializer
  32. def toBytesList(arg0: Collection[P]): List[ByteBuffer]

    Permalink
    Definition Classes
    AbstractSerializer → Serializer
  33. def toBytesList(arg0: List[P]): List[ByteBuffer]

    Permalink
    Definition Classes
    AbstractSerializer → Serializer
  34. def toBytesMap[V](arg0: Map[P, V]): Map[ByteBuffer, V]

    Permalink
    Definition Classes
    AbstractSerializer → Serializer
  35. def toBytesSet(arg0: List[P]): Set[ByteBuffer]

    Permalink
    Definition Classes
    AbstractSerializer → Serializer
  36. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  37. val validatorClass: String

    Permalink

    Returns validator class string representing fully qualified cassandra validator type.

    Returns validator class string representing fully qualified cassandra validator type. For example:

    "org.apache.cassandra.db.marshal.UTF8Type"
    returns

    validator class string

    Definition Classes
    ProductSerializerValidatorClass
  38. final def wait(): Unit

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

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

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

Inherited from ValidatorClass

Inherited from AbstractSerializer[P]

Inherited from Serializer[P]

Inherited from AnyRef

Inherited from Any

Ungrouped