trait ObservableImplicits extends AnyRef
Implicit conversion support for Publishers, Observables and Subscriptions
Automatically imported into the org.mongodb.scala
namespace
- Alphabetic
- By Inheritance
- ObservableImplicits
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- implicit class BoxedPublisher[T] extends Observable[T]
- implicit class BoxedSubscriber[T] extends Observer[T]
- implicit class BoxedSubscription extends Subscription
- implicit class ObservableFuture[T] extends AnyRef
- implicit class SingleObservableFuture[T] extends AnyRef
- implicit class ToObservableString extends Observable[String]
- implicit class ToSingleObservableGridFS extends SingleObservable[GridFSFile]
- implicit class ToSingleObservableInt extends SingleObservable[Int]
- implicit class ToSingleObservableLong extends SingleObservable[Long]
- implicit class ToSingleObservableObjectId extends SingleObservable[ObjectId]
- implicit class ToSingleObservablePublisher[T] extends SingleObservable[T]
- implicit class ToSingleObservableUnit extends SingleObservable[Unit]
An Observable that emits
An Observable that emits
- exactly one item, if the wrapped
Publisher
does not signal an error, even if the represented stream is empty; - no items if the wrapped
Publisher
signals an error.
- exactly one item, if the wrapped
This is the documentation for the MongoDB Scala driver.
Driver structure
The mongodb scala driver.
To get started you need a MongoClient instance, either from a connection string or via a org.mongodb.scala.MongoClientSettings.
Notable packages include: