Package

com.pagerduty.eris

serializers

Permalink

package serializers

We chose to omit Char and Short serializers. Because they are stored and compared as signed Bytes, you will get unpredictable results when doing range queries. It is recommended to use Integers in your model instead.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. serializers
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. sealed class BigDecimalSerializer extends ProxySerializer[BigDecimal, BigDecimal]

    Permalink

    BigDecimalSerializers is an adapter for scala.BigDecimal type.

  2. sealed class BigIntSerializer extends ProxySerializer[BigInt, BigInteger]

    Permalink

    BigIntSerializer is an adapter for scala.BigInt type.

  3. type BooleanSerializer = netflix.astyanax.serializers.BooleanSerializer

    Permalink
  4. type ByteArraySerializer = BytesArraySerializer

    Permalink
  5. type ByteSerializer = netflix.astyanax.serializers.ByteSerializer

    Permalink
  6. type DateSerializer = netflix.astyanax.serializers.DateSerializer

    Permalink
  7. type DoubleSerializer = netflix.astyanax.serializers.DoubleSerializer

    Permalink
  8. type FloatSerializer = netflix.astyanax.serializers.FloatSerializer

    Permalink
  9. class InferredSerializer[T] extends AbstractSerializer[T] with ValidatorClass

    Permalink

    Generic proxy serializer that infers the underlying serializer based on type signature.

    Generic proxy serializer that infers the underlying serializer based on type signature.

    Example:

    import com.pagerduty.eris.serializers.implicits._
    class MySerializer extends InferredSerializer[(Int, (String, Time))]
  10. type IntSerializer = Int32Serializer

    Permalink
  11. type LongSerializer = netflix.astyanax.serializers.LongSerializer

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

    Permalink

    Allows to serialize tuples.

    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))]
  13. class ProxySerializer[T, R] extends AbstractSerializer[T] with ValidatorClass

    Permalink

    Generic serializer that delegate serialization of type T to serializer of type R using conversions.

    Generic serializer that delegate serialization of type T to serializer of type R using conversions. Extend this when you want delegate all the work to an existing serializer.

  14. type StringSerializer = netflix.astyanax.serializers.StringSerializer

    Permalink
  15. sealed class TimeUuidSerializer extends ProxySerializer[TimeUuid, UUID]

    Permalink

    TimeUuidSerializer is an adapter for eris.TimeUuid type.

  16. type UuidSerializer = UUIDSerializer

    Permalink
  17. trait ValidatorClass extends AnyRef

    Permalink

    Allows to specify validatorClass which is used to define Cassandra schema.

Value Members

  1. implicit object BigDecimalSerializer extends BigDecimalSerializer

    Permalink
  2. implicit object BigIntSerializer extends BigIntSerializer

    Permalink
  3. implicit val BooleanSerializer: Serializer[Boolean]

    Permalink
  4. implicit val ByteArraySerializer: Serializer[Array[Byte]]

    Permalink
  5. implicit val ByteSerializer: Serializer[Byte]

    Permalink
  6. val CommonSerializers: Map[Class[_], Serializer[_]]

    Permalink

    A map of common serializers.

    A map of common serializers. Can be used with EntityMapper.

  7. implicit val DateSerializer: Serializer[Date]

    Permalink
  8. implicit val DoubleSerializer: Serializer[Double]

    Permalink
  9. implicit val FloatSerializer: Serializer[Float]

    Permalink
  10. implicit val IntSerializer: Serializer[Int]

    Permalink
  11. implicit val LongSerializer: Serializer[Long]

    Permalink
  12. implicit val StringSerializer: Serializer[String]

    Permalink
  13. implicit object TimeUuidSerializer extends TimeUuidSerializer

    Permalink
  14. implicit val UuidSerializer: Serializer[UUID]

    Permalink
  15. object ValidatorClass

    Permalink
  16. implicit def iBooleanObjSerializer: Serializer[Boolean]

    Permalink
  17. implicit def iByteObjSerializer: Serializer[Byte]

    Permalink
  18. implicit def iDoubleObjSerializer: Serializer[Double]

    Permalink
  19. implicit def iFloatObjSerializer: Serializer[Float]

    Permalink
  20. implicit def iIntObjSerializer: Serializer[Integer]

    Permalink
  21. implicit def iLongObjSerializer: Serializer[Long]

    Permalink
  22. implicit def iTuple10Serializer[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10](implicit s1: Serializer[T1], s2: Serializer[T2], s3: Serializer[T3], s4: Serializer[T4], s5: Serializer[T5], s6: Serializer[T6], s7: Serializer[T7], s8: Serializer[T8], s9: Serializer[T9], s10: Serializer[T10]): Serializer[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)]

    Permalink
  23. implicit def iTuple11Serializer[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11](implicit s1: Serializer[T1], s2: Serializer[T2], s3: Serializer[T3], s4: Serializer[T4], s5: Serializer[T5], s6: Serializer[T6], s7: Serializer[T7], s8: Serializer[T8], s9: Serializer[T9], s10: Serializer[T10], s11: Serializer[T11]): Serializer[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)]

    Permalink
  24. implicit def iTuple12Serializer[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12](implicit s1: Serializer[T1], s2: Serializer[T2], s3: Serializer[T3], s4: Serializer[T4], s5: Serializer[T5], s6: Serializer[T6], s7: Serializer[T7], s8: Serializer[T8], s9: Serializer[T9], s10: Serializer[T10], s11: Serializer[T11], s12: Serializer[T12]): Serializer[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)]

    Permalink
  25. implicit def iTuple2Serializer[T1, T2](implicit s1: Serializer[T1], s2: Serializer[T2]): Serializer[(T1, T2)]

    Permalink
  26. implicit def iTuple3Serializer[T1, T2, T3](implicit s1: Serializer[T1], s2: Serializer[T2], s3: Serializer[T3]): Serializer[(T1, T2, T3)]

    Permalink
  27. implicit def iTuple4Serializer[T1, T2, T3, T4](implicit s1: Serializer[T1], s2: Serializer[T2], s3: Serializer[T3], s4: Serializer[T4]): Serializer[(T1, T2, T3, T4)]

    Permalink
  28. implicit def iTuple5Serializer[T1, T2, T3, T4, T5](implicit s1: Serializer[T1], s2: Serializer[T2], s3: Serializer[T3], s4: Serializer[T4], s5: Serializer[T5]): Serializer[(T1, T2, T3, T4, T5)]

    Permalink
  29. implicit def iTuple6Serializer[T1, T2, T3, T4, T5, T6](implicit s1: Serializer[T1], s2: Serializer[T2], s3: Serializer[T3], s4: Serializer[T4], s5: Serializer[T5], s6: Serializer[T6]): Serializer[(T1, T2, T3, T4, T5, T6)]

    Permalink
  30. implicit def iTuple7Serializer[T1, T2, T3, T4, T5, T6, T7](implicit s1: Serializer[T1], s2: Serializer[T2], s3: Serializer[T3], s4: Serializer[T4], s5: Serializer[T5], s6: Serializer[T6], s7: Serializer[T7]): Serializer[(T1, T2, T3, T4, T5, T6, T7)]

    Permalink
  31. implicit def iTuple8Serializer[T1, T2, T3, T4, T5, T6, T7, T8](implicit s1: Serializer[T1], s2: Serializer[T2], s3: Serializer[T3], s4: Serializer[T4], s5: Serializer[T5], s6: Serializer[T6], s7: Serializer[T7], s8: Serializer[T8]): Serializer[(T1, T2, T3, T4, T5, T6, T7, T8)]

    Permalink
  32. implicit def iTuple9Serializer[T1, T2, T3, T4, T5, T6, T7, T8, T9](implicit s1: Serializer[T1], s2: Serializer[T2], s3: Serializer[T3], s4: Serializer[T4], s5: Serializer[T5], s6: Serializer[T6], s7: Serializer[T7], s8: Serializer[T8], s9: Serializer[T9]): Serializer[(T1, T2, T3, T4, T5, T6, T7, T8, T9)]

    Permalink
  33. def serializer[T](implicit s: Serializer[T]): Serializer[T]

    Permalink

    Allows to create serializers using type signatures.

    Allows to create serializers using type signatures. For example: serializer[(String, String)].

Inherited from AnyRef

Inherited from Any

Ungrouped