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
Ordering
- Alphabetic
- By Inheritance
Inherited
- BSONSerializationPack
- BSONSerializationPackCompat
- SerializationPack
- SerializationPackCompat
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- type Document = BSONDocument
- Definition Classes
- BSONSerializationPack → SerializationPack
- type ElementProducer = Producer[BSONElement]
- Definition Classes
- BSONSerializationPack → SerializationPack
- type NarrowValueReader[A] = BSONReader[_ <: BSONValue, A]
- Definition Classes
- BSONSerializationPack → SerializationPack
- type Reader[A] = BSONDocumentReader[A]
- Definition Classes
- BSONSerializationPack → SerializationPack
- type Value = BSONValue
- Definition Classes
- BSONSerializationPack → SerializationPack
- type Writer[A] = BSONDocumentWriter[A]
- Definition Classes
- BSONSerializationPack → SerializationPack
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def deserialize[A](document: Document, reader: Reader[A]): A
- Definition Classes
- BSONSerializationPack → SerializationPack
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def isEmpty(document: Document): Boolean
Returns true if the given
document
is empty.Returns true if the given
document
is empty.- Definition Classes
- BSONSerializationPack → SerializationPack
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def readAndDeserialize[A](response: Response, reader: Reader[A]): A
- Definition Classes
- BSONSerializationPack → SerializationPack
- def readFromBuffer(buffer: ReadableBuffer): Document
- Definition Classes
- BSONSerializationPack → SerializationPack
- def readValue[A](value: Value, reader: WidenValueReader[A]): Try[A]
- Definition Classes
- BSONSerializationPack → SerializationPack
- def serialize[A](a: A, writer: Writer[A]): Document
- Definition Classes
- BSONSerializationPack → SerializationPack
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def widenReader[T](r: NarrowValueReader[T]): WidenValueReader[T]
- Definition Classes
- BSONSerializationPack → SerializationPack
- def writeToBuffer(buffer: WritableBuffer, document: Document): WritableBuffer
- Definition Classes
- BSONSerializationPack → SerializationPack
- 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
- BSONSerializationPack → SerializationPack
- object IdentityReader extends Reader[Document]
- Definition Classes
- BSONSerializationPack → SerializationPack
- object IdentityWriter extends Writer[Document]
- Definition Classes
- BSONSerializationPack → SerializationPack
Deprecated Value Members
- 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.
- 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
- 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