object BSONSerializationPack extends SerializationPack with DefaultBSONHandlers
The default serialization pack.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- BSONSerializationPack
- DefaultBSONHandlers
- BSONIdentityHandlers
- BSONIdentityLowPriorityHandlers
- LowPriority1BSONHandlers
- LowPriority2BSONHandlers
- LowPriority3BSONHandlers
- LowPriority4BSONHandlers
- LowPriorityBSONHandlersCompat
- SerializationPack
- SerializationPackCompat
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- abstract class BSONArrayCollectionReader[M[_], T] extends BSONReader[M[T]]
- Attributes
- protected
- Definition Classes
- LowPriority1BSONHandlers
- type Document = BSONDocument
- Definition Classes
- BSONSerializationPack → SerializationPack
- type ElementProducer = bson.ElementProducer
- Definition Classes
- BSONSerializationPack → SerializationPack
- type NarrowValueReader[A] = BSONReader[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
- val IdentityReader: Reader[Document]
- Definition Classes
- BSONSerializationPack → SerializationPack
- val IdentityWriter: Writer[Document]
- Definition Classes
- BSONSerializationPack → SerializationPack
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def bsonLocalDateHandler(zone: ZoneId): BSONHandler[LocalDate]
- Definition Classes
- DefaultBSONHandlers
- Annotations
- @inline()
- implicit val bsonLocalDateHandler: BSONHandler[LocalDate]
- Definition Classes
- DefaultBSONHandlers
- def bsonLocalDateTimeHandler(zone: ZoneId): BSONHandler[LocalDateTime]
- Definition Classes
- DefaultBSONHandlers
- Annotations
- @inline()
- implicit val bsonLocalDateTimeHandler: BSONHandler[LocalDateTime]
- Definition Classes
- DefaultBSONHandlers
- implicit def bsonMapKeyWriter[K, V <: BSONValue](implicit keyWriter: KeyWriter[K]): BSONDocumentWriter[Map[K, V]]
- Definition Classes
- LowPriority3BSONHandlers
- implicit def bsonMapWriter[V <: BSONValue]: BSONDocumentWriter[Map[String, V]]
- Definition Classes
- LowPriority1BSONHandlers
- def bsonOffsetDateTimeHandler(zone: ZoneId): BSONHandler[OffsetDateTime]
- Definition Classes
- DefaultBSONHandlers
- Annotations
- @inline()
- implicit val bsonOffsetDateTimeHandler: BSONHandler[OffsetDateTime]
- Definition Classes
- DefaultBSONHandlers
- def bsonZonedDateTimeHandler(zone: ZoneId): BSONHandler[ZonedDateTime]
- Definition Classes
- DefaultBSONHandlers
- Annotations
- @inline()
- implicit val bsonZonedDateTimeHandler: BSONHandler[ZonedDateTime]
- Definition Classes
- DefaultBSONHandlers
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- implicit final def collectionReader[M[_], T](implicit f: Factory[T, M[T]], reader: BSONReader[T]): BSONReader[M[T]]
- Definition Classes
- LowPriorityBSONHandlersCompat
- implicit def collectionWriter[T, Repr](implicit arg0: (Repr) => Iterable[T], writer: BSONWriter[T], notOption: ¬[Repr, Option[T]]): BSONWriter[Repr]
- Definition Classes
- LowPriority1BSONHandlers
- 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
- implicit def mapKeyReader[K, V](implicit keyReader: KeyReader[K], valueReader: BSONReader[V]): BSONDocumentReader[Map[K, V]]
- Definition Classes
- LowPriority2BSONHandlers
- 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
- implicit def mapKeyWriter[K, V](implicit keyWriter: KeyWriter[K], valueWriter: BSONWriter[V]): BSONDocumentWriter[Map[K, V]]
- Definition Classes
- LowPriority4BSONHandlers
- implicit def mapReader[V](implicit valueReader: BSONReader[V]): BSONDocumentReader[Map[String, V]]
- Definition Classes
- LowPriority1BSONHandlers
- implicit def mapSafeWriter[V](implicit valueWriter: BSONWriter[V] with SafeBSONWriter[V]): BSONDocumentWriter[Map[String, V]]
- Definition Classes
- LowPriority1BSONHandlers
- implicit def mapWriter[V](implicit valueWriter: BSONWriter[V]): BSONDocumentWriter[Map[String, V]]
- Definition Classes
- LowPriority2BSONHandlers
- 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()
- 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
- implicit object BSONArrayIdentity extends DefaultBSONHandlers.IdentityBSONHandler[BSONArray]
- Definition Classes
- BSONIdentityHandlers
- implicit object BSONBinaryHandler extends BSONHandler[Array[Byte]] with SafeBSONWriter[Array[Byte]]
- Definition Classes
- DefaultBSONHandlers
- implicit object BSONBinaryIdentity extends DefaultBSONHandlers.IdentityBSONHandler[BSONBinary]
- Definition Classes
- BSONIdentityHandlers
- implicit object BSONBooleanHandler extends BSONHandler[Boolean] with SafeBSONWriter[Boolean]
- Definition Classes
- DefaultBSONHandlers
- implicit object BSONBooleanIdentity extends DefaultBSONHandlers.IdentityBSONHandler[BSONBoolean]
- Definition Classes
- BSONIdentityHandlers
- implicit object BSONDateTimeHandler extends BSONHandler[Instant] with SafeBSONWriter[Instant]
- Definition Classes
- DefaultBSONHandlers
- implicit object BSONDateTimeIdentity extends DefaultBSONHandlers.IdentityBSONHandler[BSONDateTime]
- Definition Classes
- BSONIdentityHandlers
- implicit object BSONDecimalHandler extends BSONHandler[BigDecimal]
- Definition Classes
- DefaultBSONHandlers
- implicit object BSONDecimalIdentity extends DefaultBSONHandlers.IdentityBSONHandler[BSONDecimal]
- Definition Classes
- BSONIdentityHandlers
- implicit object BSONDocumentIdentity extends BSONDocumentReader[BSONDocument] with BSONDocumentWriter[BSONDocument]
- Definition Classes
- BSONIdentityHandlers
- implicit object BSONDoubleHandler extends BSONHandler[Double] with SafeBSONWriter[Double]
- Definition Classes
- DefaultBSONHandlers
- implicit object BSONDoubleIdentity extends DefaultBSONHandlers.IdentityBSONHandler[BSONDouble]
- Definition Classes
- BSONIdentityHandlers
- implicit object BSONFloatHandler extends BSONHandler[Float] with SafeBSONWriter[Float]
- Definition Classes
- DefaultBSONHandlers
- implicit object BSONIntegerHandler extends BSONHandler[Int] with SafeBSONWriter[Int]
- Definition Classes
- DefaultBSONHandlers
- implicit object BSONIntegerIdentity extends DefaultBSONHandlers.IdentityBSONHandler[BSONInteger]
- Definition Classes
- BSONIdentityHandlers
- implicit object BSONJavaScriptIdentity extends DefaultBSONHandlers.IdentityBSONHandler[BSONJavaScript]
- Definition Classes
- BSONIdentityHandlers
- implicit object BSONJavaScriptWSIdentity extends DefaultBSONHandlers.IdentityBSONHandler[BSONJavaScriptWS]
- Definition Classes
- BSONIdentityHandlers
- implicit object BSONLongHandler extends BSONHandler[Long] with SafeBSONWriter[Long]
- Definition Classes
- DefaultBSONHandlers
- implicit object BSONLongIdentity extends DefaultBSONHandlers.IdentityBSONHandler[BSONLong]
- Definition Classes
- BSONIdentityHandlers
- implicit object BSONMaxKeyIdentity extends DefaultBSONHandlers.IdentityBSONHandler[BSONMaxKey]
- Definition Classes
- BSONIdentityHandlers
- implicit object BSONMinKeyIdentity extends DefaultBSONHandlers.IdentityBSONHandler[BSONMinKey]
- Definition Classes
- BSONIdentityHandlers
- implicit object BSONNullIdentity extends DefaultBSONHandlers.IdentityBSONHandler[BSONNull]
- Definition Classes
- BSONIdentityHandlers
- implicit object BSONObjectIDIdentity extends DefaultBSONHandlers.IdentityBSONHandler[BSONObjectID]
- Definition Classes
- BSONIdentityHandlers
- implicit object BSONRegexIdentity extends DefaultBSONHandlers.IdentityBSONHandler[BSONRegex]
- Definition Classes
- BSONIdentityHandlers
- implicit object BSONStringHandler extends BSONHandler[String] with SafeBSONWriter[String]
- Definition Classes
- DefaultBSONHandlers
- implicit object BSONStringIdentity extends DefaultBSONHandlers.IdentityBSONHandler[BSONString]
- Definition Classes
- BSONIdentityHandlers
- implicit object BSONSymbolIdentity extends DefaultBSONHandlers.IdentityBSONHandler[BSONSymbol]
- Definition Classes
- BSONIdentityHandlers
- implicit object BSONTimestampIdentity extends DefaultBSONHandlers.IdentityBSONHandler[BSONTimestamp]
- Definition Classes
- BSONIdentityHandlers
- implicit object BSONURIHandler extends BSONHandler[URI] with SafeBSONWriter[URI]
- Definition Classes
- DefaultBSONHandlers
- implicit object BSONURLHandler extends BSONHandler[URL] with SafeBSONWriter[URL]
- Definition Classes
- DefaultBSONHandlers
- implicit object BSONUndefinedIdentity extends DefaultBSONHandlers.IdentityBSONHandler[BSONUndefined]
- Definition Classes
- BSONIdentityHandlers
- implicit object BSONValueIdentity extends BSONReader[BSONValue] with BSONWriter[BSONValue]
- Definition Classes
- BSONIdentityLowPriorityHandlers
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