Packages

o

reactivemongo.api.bson.collection

BSONSerializationPack

object BSONSerializationPack extends SerializationPack with DefaultBSONHandlers

The default serialization pack.

Linear Supertypes
DefaultBSONHandlers, BSONIdentityHandlers, BSONIdentityLowPriorityHandlers, LowPriority1BSONHandlers, LowPriority2BSONHandlers, LowPriority3BSONHandlers, LowPriority4BSONHandlers, LowPriorityBSONHandlersCompat, SerializationPack, SerializationPackCompat, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BSONSerializationPack
  2. DefaultBSONHandlers
  3. BSONIdentityHandlers
  4. BSONIdentityLowPriorityHandlers
  5. LowPriority1BSONHandlers
  6. LowPriority2BSONHandlers
  7. LowPriority3BSONHandlers
  8. LowPriority4BSONHandlers
  9. LowPriorityBSONHandlersCompat
  10. SerializationPack
  11. SerializationPackCompat
  12. AnyRef
  13. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. abstract class BSONArrayCollectionReader[M[_], T] extends BSONReader[M[T]]
    Attributes
    protected
    Definition Classes
    LowPriority1BSONHandlers
  2. type Document = BSONDocument
  3. type ElementProducer = bson.ElementProducer
  4. type NarrowValueReader[A] = BSONReader[A]
  5. type Reader[A] = BSONDocumentReader[A]
  6. type Value = BSONValue
  7. type Writer[A] = BSONDocumentWriter[A]

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val IdentityReader: Reader[Document]
  5. val IdentityWriter: Writer[Document]
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def bsonLocalDateHandler(zone: ZoneId): BSONHandler[LocalDate]
    Definition Classes
    DefaultBSONHandlers
    Annotations
    @inline()
  8. implicit val bsonLocalDateHandler: BSONHandler[LocalDate]
    Definition Classes
    DefaultBSONHandlers
  9. def bsonLocalDateTimeHandler(zone: ZoneId): BSONHandler[LocalDateTime]
    Definition Classes
    DefaultBSONHandlers
    Annotations
    @inline()
  10. implicit val bsonLocalDateTimeHandler: BSONHandler[LocalDateTime]
    Definition Classes
    DefaultBSONHandlers
  11. implicit def bsonMapKeyWriter[K, V <: BSONValue](implicit keyWriter: KeyWriter[K]): BSONDocumentWriter[Map[K, V]]
    Definition Classes
    LowPriority3BSONHandlers
  12. implicit def bsonMapWriter[V <: BSONValue]: BSONDocumentWriter[Map[String, V]]
    Definition Classes
    LowPriority1BSONHandlers
  13. def bsonOffsetDateTimeHandler(zone: ZoneId): BSONHandler[OffsetDateTime]
    Definition Classes
    DefaultBSONHandlers
    Annotations
    @inline()
  14. implicit val bsonOffsetDateTimeHandler: BSONHandler[OffsetDateTime]
    Definition Classes
    DefaultBSONHandlers
  15. def bsonZonedDateTimeHandler(zone: ZoneId): BSONHandler[ZonedDateTime]
    Definition Classes
    DefaultBSONHandlers
    Annotations
    @inline()
  16. implicit val bsonZonedDateTimeHandler: BSONHandler[ZonedDateTime]
    Definition Classes
    DefaultBSONHandlers
  17. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  18. implicit final def collectionReader[M[_], T](implicit f: Factory[T, M[T]], reader: BSONReader[T]): BSONReader[M[T]]
    Definition Classes
    LowPriorityBSONHandlersCompat
  19. implicit def collectionWriter[T, Repr](implicit arg0: (Repr) => Iterable[T], writer: BSONWriter[T], notOption: ¬[Repr, Option[T]]): BSONWriter[Repr]
    Definition Classes
    LowPriority1BSONHandlers
  20. def deserialize[A](document: Document, reader: Reader[A]): A
  21. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  23. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  25. def isEmpty(document: Document): Boolean

    Returns true if the given document is empty.

    Returns true if the given document is empty.

    Definition Classes
    BSONSerializationPackSerializationPack
  26. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  27. implicit def mapKeyReader[K, V](implicit keyReader: KeyReader[K], valueReader: BSONReader[V]): BSONDocumentReader[Map[K, V]]
    Definition Classes
    LowPriority2BSONHandlers
  28. implicit def mapKeySafeWriter[K, V](implicit keyWriter: KeyWriter[K] with SafeKeyWriter[K], valueWriter: BSONWriter[V] with SafeBSONWriter[V]): BSONDocumentWriter[Map[K, V]]
    Definition Classes
    LowPriority3BSONHandlers
  29. implicit def mapKeyWriter[K, V](implicit keyWriter: KeyWriter[K], valueWriter: BSONWriter[V]): BSONDocumentWriter[Map[K, V]]
    Definition Classes
    LowPriority4BSONHandlers
  30. implicit def mapReader[V](implicit valueReader: BSONReader[V]): BSONDocumentReader[Map[String, V]]
    Definition Classes
    LowPriority1BSONHandlers
  31. implicit def mapSafeWriter[V](implicit valueWriter: BSONWriter[V] with SafeBSONWriter[V]): BSONDocumentWriter[Map[String, V]]
    Definition Classes
    LowPriority1BSONHandlers
  32. implicit def mapWriter[V](implicit valueWriter: BSONWriter[V]): BSONDocumentWriter[Map[String, V]]
    Definition Classes
    LowPriority2BSONHandlers
  33. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  34. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  35. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  36. def readAndDeserialize[A](response: Response, reader: Reader[A]): A
  37. def readFromBuffer(buffer: ReadableBuffer): Document
  38. def readValue[A](value: Value, reader: WidenValueReader[A]): Try[A]
  39. def serialize[A](a: A, writer: Writer[A]): Document
  40. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  41. def toString(): String
    Definition Classes
    AnyRef → Any
  42. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  43. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  44. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  45. def widenReader[T](r: NarrowValueReader[T]): WidenValueReader[T]
  46. def writeToBuffer(buffer: WritableBuffer, document: Document): WritableBuffer
  47. def writer[A](f: (A) => Document): Writer[A]

    Prepares a writer from the given serialization function.

    Prepares a writer from the given serialization function.

    Definition Classes
    BSONSerializationPackSerializationPack
  48. implicit object BSONArrayIdentity extends DefaultBSONHandlers.IdentityBSONHandler[BSONArray]
    Definition Classes
    BSONIdentityHandlers
  49. implicit object BSONBinaryHandler extends BSONHandler[Array[Byte]] with SafeBSONWriter[Array[Byte]]
    Definition Classes
    DefaultBSONHandlers
  50. implicit object BSONBinaryIdentity extends DefaultBSONHandlers.IdentityBSONHandler[BSONBinary]
    Definition Classes
    BSONIdentityHandlers
  51. implicit object BSONBooleanHandler extends BSONHandler[Boolean] with SafeBSONWriter[Boolean]
    Definition Classes
    DefaultBSONHandlers
  52. implicit object BSONBooleanIdentity extends DefaultBSONHandlers.IdentityBSONHandler[BSONBoolean]
    Definition Classes
    BSONIdentityHandlers
  53. implicit object BSONDateTimeHandler extends BSONHandler[Instant] with SafeBSONWriter[Instant]
    Definition Classes
    DefaultBSONHandlers
  54. implicit object BSONDateTimeIdentity extends DefaultBSONHandlers.IdentityBSONHandler[BSONDateTime]
    Definition Classes
    BSONIdentityHandlers
  55. implicit object BSONDecimalHandler extends BSONHandler[BigDecimal]
    Definition Classes
    DefaultBSONHandlers
  56. implicit object BSONDecimalIdentity extends DefaultBSONHandlers.IdentityBSONHandler[BSONDecimal]
    Definition Classes
    BSONIdentityHandlers
  57. implicit object BSONDocumentIdentity extends BSONDocumentReader[BSONDocument] with BSONDocumentWriter[BSONDocument]
    Definition Classes
    BSONIdentityHandlers
  58. implicit object BSONDoubleHandler extends BSONHandler[Double] with SafeBSONWriter[Double]
    Definition Classes
    DefaultBSONHandlers
  59. implicit object BSONDoubleIdentity extends DefaultBSONHandlers.IdentityBSONHandler[BSONDouble]
    Definition Classes
    BSONIdentityHandlers
  60. implicit object BSONFloatHandler extends BSONHandler[Float] with SafeBSONWriter[Float]
    Definition Classes
    DefaultBSONHandlers
  61. implicit object BSONIntegerHandler extends BSONHandler[Int] with SafeBSONWriter[Int]
    Definition Classes
    DefaultBSONHandlers
  62. implicit object BSONIntegerIdentity extends DefaultBSONHandlers.IdentityBSONHandler[BSONInteger]
    Definition Classes
    BSONIdentityHandlers
  63. implicit object BSONJavaScriptIdentity extends DefaultBSONHandlers.IdentityBSONHandler[BSONJavaScript]
    Definition Classes
    BSONIdentityHandlers
  64. implicit object BSONJavaScriptWSIdentity extends DefaultBSONHandlers.IdentityBSONHandler[BSONJavaScriptWS]
    Definition Classes
    BSONIdentityHandlers
  65. implicit object BSONLongHandler extends BSONHandler[Long] with SafeBSONWriter[Long]
    Definition Classes
    DefaultBSONHandlers
  66. implicit object BSONLongIdentity extends DefaultBSONHandlers.IdentityBSONHandler[BSONLong]
    Definition Classes
    BSONIdentityHandlers
  67. implicit object BSONMaxKeyIdentity extends DefaultBSONHandlers.IdentityBSONHandler[BSONMaxKey]
    Definition Classes
    BSONIdentityHandlers
  68. implicit object BSONMinKeyIdentity extends DefaultBSONHandlers.IdentityBSONHandler[BSONMinKey]
    Definition Classes
    BSONIdentityHandlers
  69. implicit object BSONNullIdentity extends DefaultBSONHandlers.IdentityBSONHandler[BSONNull]
    Definition Classes
    BSONIdentityHandlers
  70. implicit object BSONObjectIDIdentity extends DefaultBSONHandlers.IdentityBSONHandler[BSONObjectID]
    Definition Classes
    BSONIdentityHandlers
  71. implicit object BSONRegexIdentity extends DefaultBSONHandlers.IdentityBSONHandler[BSONRegex]
    Definition Classes
    BSONIdentityHandlers
  72. implicit object BSONStringHandler extends BSONHandler[String] with SafeBSONWriter[String]
    Definition Classes
    DefaultBSONHandlers
  73. implicit object BSONStringIdentity extends DefaultBSONHandlers.IdentityBSONHandler[BSONString]
    Definition Classes
    BSONIdentityHandlers
  74. implicit object BSONSymbolIdentity extends DefaultBSONHandlers.IdentityBSONHandler[BSONSymbol]
    Definition Classes
    BSONIdentityHandlers
  75. implicit object BSONTimestampIdentity extends DefaultBSONHandlers.IdentityBSONHandler[BSONTimestamp]
    Definition Classes
    BSONIdentityHandlers
  76. implicit object BSONURIHandler extends BSONHandler[URI] with SafeBSONWriter[URI]
    Definition Classes
    DefaultBSONHandlers
  77. implicit object BSONURLHandler extends BSONHandler[URL] with SafeBSONWriter[URL]
    Definition Classes
    DefaultBSONHandlers
  78. implicit object BSONUndefinedIdentity extends DefaultBSONHandlers.IdentityBSONHandler[BSONUndefined]
    Definition Classes
    BSONIdentityHandlers
  79. implicit object BSONValueIdentity extends BSONReader[BSONValue] with BSONWriter[BSONValue]
    Definition Classes
    BSONIdentityLowPriorityHandlers

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  2. def readAndDeserialize[A](buffer: ReadableBuffer, reader: Reader[A]): A
    Definition Classes
    SerializationPack
    Annotations
    @deprecated
    Deprecated

    (Since version 0.19.1) Internal: will be made private

  3. def serializeAndWrite[A](buffer: WritableBuffer, document: A, writer: Writer[A]): WritableBuffer
    Definition Classes
    SerializationPack
    Annotations
    @deprecated
    Deprecated

    (Since version 0.19.1) Internal: will be made private

Inherited from DefaultBSONHandlers

Inherited from BSONIdentityHandlers

Inherited from BSONIdentityLowPriorityHandlers

Inherited from LowPriority1BSONHandlers

Inherited from LowPriority2BSONHandlers

Inherited from LowPriority3BSONHandlers

Inherited from LowPriority4BSONHandlers

Inherited from LowPriorityBSONHandlersCompat

Inherited from SerializationPack

Inherited from SerializationPackCompat

Inherited from AnyRef

Inherited from Any

Ungrouped