implicit class JavaAsyncOutputStreamToScala extends AsyncOutputStream
- Alphabetic
- By Inheritance
- JavaAsyncOutputStreamToScala
- AsyncOutputStream
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new JavaAsyncOutputStreamToScala(wrapped: com.mongodb.async.client.gridfs.AsyncOutputStream)
Value Members
- def close(): Observable[Completed]
Closes the output stream
Closes the output stream
- returns
a Observable with a single element indicating when the AsyncOutputStream has been closed
- Definition Classes
- JavaAsyncOutputStreamToScala → AsyncOutputStream
- def write(src: ByteBuffer): Observable[Int]
Writes a sequence of bytes from the given buffer into this stream.
Writes a sequence of bytes from the given buffer into this stream.
- src
the source buffer containing the data to be written.
- returns
a Observable returning a single element containing the number of bytes written.
- Definition Classes
- JavaAsyncOutputStreamToScala → AsyncOutputStream
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: