object HandlerConverters extends HandlerConverters
See compat$ and HandlerConverters
- Alphabetic
- By Inheritance
- HandlerConverters
- HandlerConverters
- LowPriorityHandlerConverters1
- LowPriorityHandlerConverters2
- LowPriorityHandlerConverters3
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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
- implicit final def fromDocumentHandler[T](h: BSONDocumentHandler[T]): bson.BSONDocumentHandler[T]
Implicit conversion from new
BSONDocumentHandlerto the legacy API.Implicit conversion from new
BSONDocumentHandlerto the legacy API.import reactivemongo.api.bson.compat.HandlerConverters.fromDocumentHandler def bar[T](lh: reactivemongo.api.bson.BSONDocumentHandler[T]) = { val h: reactivemongo.bson.BSONDocumentHandler[T] = lh h }
- Definition Classes
- HandlerConverters
- implicit final def fromDocumentReader[T](r: BSONDocumentReader[T]): bson.BSONDocumentReader[T]
import reactivemongo.api.bson.compat.HandlerConverters.fromDocumentReader def foo[T](r: reactivemongo.api.bson.BSONDocumentReader[T]) = { val lr: reactivemongo.bson.BSONDocumentReader[T] = r lr }
- Definition Classes
- LowPriorityHandlerConverters2
- implicit final def fromDocumentWriter[T](w: BSONDocumentWriter[T]): bson.BSONDocumentWriter[T]
import reactivemongo.api.bson.compat.HandlerConverters.fromDocumentWriter def bar[T](lw: reactivemongo.api.bson.BSONDocumentWriter[T]) = { val w: reactivemongo.bson.BSONDocumentWriter[T] = lw w }
- Definition Classes
- LowPriorityHandlerConverters2
- implicit final def fromHandler[T](h: BSONHandler[T]): bson.BSONHandler[bson.BSONValue, T]
- Definition Classes
- LowPriorityHandlerConverters1
- implicit final def fromReader[T](r: BSONReader[T]): bson.BSONReader[bson.BSONValue, T]
- Definition Classes
- LowPriorityHandlerConverters3
- implicit final def fromWriter[T](w: BSONWriter[T]): bson.BSONWriter[T, bson.BSONValue]
- Definition Classes
- LowPriorityHandlerConverters3
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def legacyDocumentHandler[T](implicit r: bson.BSONDocumentReader[T], w: bson.BSONDocumentWriter[T]): bson.BSONDocumentHandler[T]
- Definition Classes
- LowPriorityHandlerConverters1
- implicit def legacyReaderNewValue[B <: BSONValue, L](implicit r: BSONDocumentReader[B], conv: (B) => L): bson.BSONDocumentReader[L]
Based on the compatibility conversions, provides instances of legacy
BSONDocumentReaderfor the new BSON value API.Based on the compatibility conversions, provides instances of legacy
BSONDocumentReaderfor the new BSON value API.- Definition Classes
- HandlerConverters
- implicit def legacyWriterNewValue[B <: BSONValue, L](implicit w: BSONDocumentWriter[B], conv: (L) => B): bson.BSONDocumentWriter[L]
Based on the compatibility conversions, provides instances of legacy
BSONDocumentWriterfor the new BSON value API.Based on the compatibility conversions, provides instances of legacy
BSONDocumentWriterfor the new BSON value API.- Definition Classes
- HandlerConverters
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def providedDocumentHandler[T](implicit r: BSONDocumentReader[T], w: BSONDocumentWriter[T]): BSONDocumentHandler[T]
Provided there are both a
BSONDocumentReaderand aBSONDocumentWriterfor the given typeT, aBSONDocumentHandleris materialized.Provided there are both a
BSONDocumentReaderand aBSONDocumentWriterfor the given typeT, aBSONDocumentHandleris materialized.- Definition Classes
- LowPriorityHandlerConverters1
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- implicit final def toDocumentHandler[T](h: bson.BSONDocumentHandler[T]): BSONDocumentHandler[T]
Implicit conversion from legacy
BSONDocumentHandlerto the new API.Implicit conversion from legacy
BSONDocumentHandlerto the new API.import reactivemongo.api.bson.compat.HandlerConverters.toDocumentHandler def foo[T](lh: reactivemongo.bson.BSONDocumentHandler[T]) = { val h: reactivemongo.api.bson.BSONDocumentHandler[T] = lh h }
- Definition Classes
- HandlerConverters
- implicit final def toDocumentReader[T](implicit r: bson.BSONDocumentReader[T]): BSONDocumentReader[T]
Provided there is a legacy document reader, resolve a new one.
Provided there is a legacy document reader, resolve a new one.
- Definition Classes
- LowPriorityHandlerConverters2
- implicit final def toDocumentReaderConv[T](r: bson.BSONDocumentReader[T]): BSONDocumentReader[T]
import reactivemongo.api.bson.compat.HandlerConverters.toDocumentReaderConv def lorem[T](lw: reactivemongo.bson.BSONDocumentReader[T]) = { val w: reactivemongo.api.bson.BSONDocumentReader[T] = lw w }
- Definition Classes
- LowPriorityHandlerConverters2
- implicit final def toDocumentWriter[T](implicit w: bson.BSONDocumentWriter[T]): BSONDocumentWriter[T]
Provided there is a legacy document writer, resolve a new one.
Provided there is a legacy document writer, resolve a new one.
- Definition Classes
- LowPriorityHandlerConverters2
- implicit final def toDocumentWriterConv[T](w: bson.BSONDocumentWriter[T]): BSONDocumentWriter[T]
import reactivemongo.api.bson.compat.HandlerConverters.toDocumentWriterConv def foo[T](lw: reactivemongo.bson.BSONDocumentWriter[T]) = { val w: reactivemongo.api.bson.BSONDocumentWriter[T] = lw w }
- Definition Classes
- LowPriorityHandlerConverters2
- implicit final def toHandler[T, B <: bson.BSONValue](h: bson.BSONHandler[B, T])(implicit bc: ClassTag[B]): BSONHandler[T]
- Definition Classes
- LowPriorityHandlerConverters1
- implicit final def toReader[T, B <: bson.BSONValue](r: bson.BSONReader[B, T])(implicit bc: ClassTag[B]): BSONReader[T]
- Definition Classes
- LowPriorityHandlerConverters3
- def toString(): String
- Definition Classes
- AnyRef → Any
- implicit final def toWriter[T](w: bson.BSONWriter[T, _ <: bson.BSONValue]): BSONWriter[T]
- Definition Classes
- LowPriorityHandlerConverters3
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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()