object BSONValue extends BSONValueLowPriority1
BSONValue factories and utilities
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- BSONValue
- BSONValueLowPriority1
- BSONValueLowPriority2
- BSONValueLowPriority3
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- final class SomeValueProducer extends SafeProducer[BSONValue]
- Attributes
- protected
- final class UnsafeValueProducer extends UnsafeProducer[BSONValue]
- Attributes
- protected
- Definition Classes
- BSONValueLowPriority2
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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- 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()
- implicit def identityValueProducer[B <: BSONValue](value: B): Producer[BSONValue]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- implicit val noneProducer: (None.type) => Producer[BSONValue]
- Definition Classes
- BSONValueLowPriority1
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- implicit def optionProducer[T](value: Option[T])(implicit writer: BSONWriter[T]): Producer[BSONValue]
- Definition Classes
- BSONValueLowPriority2
- def pretty(value: BSONValue): String
Returns a String representation for the value.
Returns a String representation for the value.
import reactivemongo.api.bson.{ BSONDocument, BSONValue } def foo(v: BSONValue): String = BSONValue.pretty(v) foo(BSONDocument("bar" -> 1)) // { "bar": 1 }
- implicit def safeOptionProducer[T](value: Option[T])(implicit writer: SafeBSONWriter[T]): Producer[BSONValue]
- Definition Classes
- BSONValueLowPriority1
- implicit def safeValueProducer[T](value: T)(implicit writer: SafeBSONWriter[T]): Producer[BSONValue]
- Definition Classes
- BSONValueLowPriority1
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- implicit def valueProducer[T](value: T)(implicit writer: BSONWriter[T]): Producer[BSONValue]
- Definition Classes
- BSONValueLowPriority3
- 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()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- object Addition extends (BSONValue, BSONValue) => BSONArray
An addition operation for BSONValue, so that it forms an additive semigroup with the BSON value kind.
- object NoneValueProducer extends SafeProducer[BSONValue]
- Attributes
- protected[bson]
- Definition Classes
- BSONValueLowPriority1