Trait/Object

reactivemongo.api.bson.msb

ValueConverters

Related Docs: object ValueConverters | package msb

Permalink

trait ValueConverters extends LowPriorityConverters

Implicit conversions for value types between org.bson and reactivemongo.api.bson.

// Required import
import reactivemongo.api.bson.msb.ValueConverters._

// From org.bson
import reactivemongo.api.bson.{ BSONDouble, BSONString, BSONValue }

val newStr: BSONString = new org.bson.BsonString("foo")
val newVal: BSONValue = new org.bson.BsonInt32(2)

// To org.bson
val oldStr: org.bson.BsonString = BSONString("bar")
val oldVal: org.bson.BsonValue = BSONDouble(1.2D)
Linear Supertypes
LowPriorityConverters, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ValueConverters
  2. LowPriorityConverters
  3. AnyRef
  4. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from ValueConverters to any2stringadd[ValueConverters] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (ValueConverters, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from ValueConverters to ArrowAssoc[ValueConverters] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. val codeToBinSubtype: (Byte) ⇒ Subtype

    Permalink
  9. def ensuring(cond: (ValueConverters) ⇒ Boolean, msg: ⇒ Any): ValueConverters

    Permalink
    Implicit information
    This member is added by an implicit conversion from ValueConverters to Ensuring[ValueConverters] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: (ValueConverters) ⇒ Boolean): ValueConverters

    Permalink
    Implicit information
    This member is added by an implicit conversion from ValueConverters to Ensuring[ValueConverters] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: Boolean, msg: ⇒ Any): ValueConverters

    Permalink
    Implicit information
    This member is added by an implicit conversion from ValueConverters to Ensuring[ValueConverters] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean): ValueConverters

    Permalink
    Implicit information
    This member is added by an implicit conversion from ValueConverters to Ensuring[ValueConverters] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from ValueConverters to StringFormat[ValueConverters] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  17. implicit final def fromArray(array: BSONArray): BsonArray

    Permalink
  18. implicit final def fromBinary(binary: BSONBinary): BsonBinary

    Permalink
  19. implicit final def fromBinarySubtype(subtype: Subtype): BsonBinarySubType

    Permalink
  20. implicit final def fromBoolean(boolean: BSONBoolean): BsonBoolean

    Permalink
  21. implicit final def fromDateTime(dateTime: BSONDateTime): BsonDateTime

    Permalink
  22. implicit final def fromDecimal(decimal: BSONDecimal): BsonDecimal128

    Permalink
  23. implicit final def fromDocument(doc: BSONDocument): BsonDocument

    Permalink
  24. implicit final def fromDouble(double: BSONDouble): BsonDouble

    Permalink
  25. implicit final def fromElement(element: BSONElement): BsonElement

    Permalink
  26. implicit final def fromInteger(integer: BSONInteger): BsonInt32

    Permalink
  27. implicit final def fromJavaScript(javaScript: BSONJavaScript): BsonJavaScript

    Permalink
  28. implicit final def fromJavaScriptWS(js: BSONJavaScriptWS): BsonJavaScriptWithScope

    Permalink
  29. implicit final def fromLong(long: BSONLong): BsonInt64

    Permalink
  30. implicit val fromMaxKey: (BSONMaxKey) ⇒ BsonMaxKey

    Permalink
  31. implicit val fromMinKey: (BSONMinKey) ⇒ BsonMinKey

    Permalink
  32. implicit val fromNull: (BSONNull) ⇒ BsonNull

    Permalink
  33. implicit final def fromObjectID(oid: BSONObjectID): BsonObjectId

    Permalink
  34. implicit final def fromRegex(regex: BSONRegex): BsonRegularExpression

    Permalink
  35. implicit final def fromStr(string: BSONString): BsonString

    Permalink
  36. implicit final def fromSymbol(symbol: BSONSymbol): BsonSymbol

    Permalink
  37. implicit final def fromTimestamp(timestamp: BSONTimestamp): BsonTimestamp

    Permalink
  38. implicit val fromUndefined: (BSONUndefined) ⇒ BsonUndefined

    Permalink
  39. implicit final def fromValue(bson: BSONValue): BsonValue

    Permalink
    Definition Classes
    LowPriorityConverters
  40. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  41. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  42. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  43. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  44. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  45. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  46. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  47. implicit final def toArray(bson: BsonArray): BSONArray

    Permalink
  48. implicit final def toBinary(bson: BsonBinary): BSONBinary

    Permalink
  49. implicit final def toBinarySubtype(bson: BsonBinarySubType): Subtype

    Permalink
  50. implicit final def toBoolean(bson: BsonBoolean): BSONBoolean

    Permalink
  51. implicit final def toDateTime(bson: BsonDateTime): BSONDateTime

    Permalink
  52. final def toDecimal(dec: org.bson.types.Decimal128): BSONDecimal

    Permalink
  53. implicit final def toDecimal(bson: BsonDecimal128): BSONDecimal

    Permalink
    Annotations
    @inline()
  54. implicit final def toDocument(bson: BsonDocument): BSONDocument

    Permalink
  55. implicit final def toDouble(bson: BsonDouble): BSONDouble

    Permalink
  56. implicit final def toElement(bson: BsonElement): BSONElement

    Permalink
  57. implicit final def toInteger(bson: BsonInt32): BSONInteger

    Permalink
  58. implicit final def toJavaScript(bson: BsonJavaScript): BSONJavaScript

    Permalink
  59. implicit final def toJavaScriptWS(bson: BsonJavaScriptWithScope): BSONJavaScriptWS

    Permalink
  60. implicit final def toLong(bson: BsonInt64): BSONLong

    Permalink
  61. implicit val toMaxKey: (BsonMaxKey) ⇒ BSONMaxKey

    Permalink
  62. implicit val toMinKey: (BsonMinKey) ⇒ BSONMinKey

    Permalink
  63. implicit val toNull: (BsonNull) ⇒ BSONNull

    Permalink
  64. final def toObjectID(boid: ObjectId): BSONObjectID

    Permalink
  65. implicit final def toObjectID(boid: BsonObjectId): BSONObjectID

    Permalink
    Annotations
    @inline()
  66. implicit final def toRegex(bson: BsonRegularExpression): BSONRegex

    Permalink
  67. implicit final def toStr(bson: BsonString): BSONString

    Permalink
  68. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  69. implicit final def toSymbol(bson: BsonSymbol): BSONSymbol

    Permalink
  70. implicit final def toTimestamp(bson: BsonTimestamp): BSONTimestamp

    Permalink
  71. implicit val toUndefined: (BsonUndefined) ⇒ BSONUndefined

    Permalink
  72. implicit final def toValue(bson: BsonValue): BSONValue

    Permalink
    Definition Classes
    LowPriorityConverters
  73. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  74. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  75. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  76. def [B](y: B): (ValueConverters, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from ValueConverters to ArrowAssoc[ValueConverters] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from LowPriorityConverters

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from ValueConverters to any2stringadd[ValueConverters]

Inherited by implicit conversion StringFormat from ValueConverters to StringFormat[ValueConverters]

Inherited by implicit conversion Ensuring from ValueConverters to Ensuring[ValueConverters]

Inherited by implicit conversion ArrowAssoc from ValueConverters to ArrowAssoc[ValueConverters]

Ungrouped