implicit object BSONDoubleHandler extends BSONHandler[BSONDouble, Double]

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BSONDoubleHandler
  2. BSONHandler
  3. BSONWriter
  4. BSONReader
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def afterRead[U](f: (Double) => U): BSONReader[BSONDouble, 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: (BSONDouble) => U): BSONWriter[Double, 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. def as[R](to: (Double) => R, from: (R) => Double): BSONHandler[BSONDouble, R]
    Definition Classes
    BSONHandler
  4. final def beforeRead[U <: BSONValue](f: (U) => BSONDouble): BSONReader[U, Double]
    Definition Classes
    BSONReader
  5. final def beforeWrite[U](f: (U) => Double): BSONWriter[U, BSONDouble]
    Definition Classes
    BSONWriter
  6. def read(double: BSONDouble): Double

    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
    BSONDoubleHandlerBSONReader
  7. def readOpt(bson: BSONDouble): Option[Double]

    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
    BSONReader
  8. def readTry(bson: BSONDouble): Try[Double]

    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
  9. def write(double: Double): BSONDouble

    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
    BSONDoubleHandlerBSONWriter
  10. def writeOpt(t: Double): Option[BSONDouble]

    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
    BSONWriter
  11. def writeTry(t: Double): Try[BSONDouble]

    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