Packages

t

reactivemongo.bson

VariantBSONDocumentReader

trait VariantBSONDocumentReader[+T] extends VariantBSONReader[BSONDocument, T]

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. VariantBSONDocumentReader
  2. VariantBSONReader
  3. AnyRef
  4. Any
Implicitly
  1. by valueProducer
  2. by element2Producer
  3. by any2stringadd
  4. by StringFormat
  5. by Ensuring
  6. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def read(bson: BSONDocument): T

    Reads a BSON value and produce an instance of T.

    Reads a BSON value and produce an instance of T.

    This method may throw exceptions at runtime. If used outside a reader, one should consider readTry(bson: B): Try[T] or readOpt(bson: B): Option[T].

    Definition Classes
    VariantBSONReader

Concrete Value Members

  1. def readOpt(bson: BSONDocument): Option[T]

    Tries to produce an instance of T from the bson value, returns None if an error occurred.

    Tries to produce an instance of T from the bson value, returns None if an error occurred.

    Definition Classes
    VariantBSONReader
  2. def readTry(bson: BSONDocument): Try[T]

    Tries to produce an instance of T from the bson value.

    Tries to produce an instance of T from the bson value.

    Definition Classes
    VariantBSONReader