implicit class JavaAsyncInputStreamToScala extends AsyncInputStream
- Alphabetic
- By Inheritance
- JavaAsyncInputStreamToScala
- AsyncInputStream
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new JavaAsyncInputStreamToScala(wrapped: com.mongodb.async.client.gridfs.AsyncInputStream)
Value Members
-
def
close(): Observable[Completed]
Closes the input stream
Closes the input stream
- returns
a Observable with a single element indicating when the operation has completed
- Definition Classes
- JavaAsyncInputStreamToScala → AsyncInputStream
-
def
read(dst: ByteBuffer): Observable[Int]
Reads a sequence of bytes from this stream into the given buffer.
Reads a sequence of bytes from this stream into the given buffer.
- dst
the destination buffer
- returns
an Observable with a single element indicating total number of bytes read into the buffer, or
-1
if there is no more data because the end of the stream has been reached.
- Definition Classes
- JavaAsyncInputStreamToScala → AsyncInputStream
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: