o

reactivemongo.api

BSONSerializationPack

object BSONSerializationPack extends SerializationPack with BSONSerializationPackCompat

The default serialization pack.

Annotations
@deprecated
Deprecated

(Since version 0.19.0) Will be replaced by reactivemongo.api.bson.collection.BSONSerializationPack

Linear Supertypes
BSONSerializationPackCompat, SerializationPack, SerializationPackCompat, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BSONSerializationPack
  2. BSONSerializationPackCompat
  3. SerializationPack
  4. SerializationPackCompat
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. type Document = BSONDocument
  2. type ElementProducer = Producer[BSONElement]
  3. type NarrowValueReader[A] = BSONReader[_ <: BSONValue, A]
  4. type Reader[A] = BSONDocumentReader[A]
  5. type Value = BSONValue
  6. 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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. def deserialize[A](document: Document, reader: Reader[A]): A
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. def isEmpty(document: Document): Boolean

    Returns true if the given document is empty.

    Returns true if the given document is empty.

    Definition Classes
    BSONSerializationPackSerializationPack
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. final def readAndDeserialize[A](response: Response, reader: Reader[A]): A
  17. def readFromBuffer(buffer: ReadableBuffer): Document
  18. def readValue[A](value: Value, reader: WidenValueReader[A]): Try[A]
  19. def serialize[A](a: A, writer: Writer[A]): Document
  20. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  21. def toString(): String
    Definition Classes
    AnyRef → Any
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  25. def widenReader[T](r: NarrowValueReader[T]): WidenValueReader[T]
  26. def writeToBuffer(buffer: WritableBuffer, document: Document): WritableBuffer
  27. 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
  28. object IdentityReader extends Reader[Document]
  29. object IdentityWriter extends Writer[Document]

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 BSONSerializationPackCompat

Inherited from SerializationPack

Inherited from SerializationPackCompat

Inherited from AnyRef

Inherited from Any

Ungrouped