abstract class IdentityBSONConverter[T <: BSONValue] extends BSONReader[T, T] with BSONWriter[T, T]

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. IdentityBSONConverter
  2. BSONWriter
  3. BSONReader
  4. AnyRef
  5. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new IdentityBSONConverter()(implicit m: Manifest[T])

Value Members

  1. final def afterRead[U](f: (T) => U): BSONReader[T, U]

    Returns a BSON reader that returns the result of applying f on the result of this reader.

    Returns a BSON reader that returns the result of applying f on the result of this reader.

    f

    the function to apply

    Definition Classes
    BSONReader
  2. final def afterWrite[U <: BSONValue](f: (T) => U): BSONWriter[T, U]

    Returns a BSON writer that returns the result of applying f on the BSON value from this writer.

    Returns a BSON writer that returns the result of applying f on the BSON value from this writer.

    f

    the function to apply

    Definition Classes
    BSONWriter
  3. final def beforeRead[U <: BSONValue](f: (U) => T): BSONReader[U, T]
    Definition Classes
    BSONReader
  4. final def beforeWrite[U](f: (U) => T): BSONWriter[U, T]
    Definition Classes
    BSONWriter
  5. def read(bson: T): 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
    IdentityBSONConverterBSONReader
  6. def readOpt(bson: T): 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
    IdentityBSONConverterBSONReader
  7. def readTry(bson: T): 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
    BSONReader
  8. def write(t: T): T

    Writes an instance of T as a BSON value.

    Writes an instance of T as a BSON value.

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

    Definition Classes
    IdentityBSONConverterBSONWriter
  9. def writeOpt(t: T): Option[T]

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

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

    Definition Classes
    IdentityBSONConverterBSONWriter
  10. def writeTry(t: T): Try[T]

    Tries to produce a BSON value from an instance of T.

    Tries to produce a BSON value from an instance of T.

    Definition Classes
    BSONWriter