package helpers
Contains helper classes to create org.mongodb.scala.gridfs.AsyncInputStream or org.mongodb.scala.gridfs.AsyncOutputStream instances from external sources.
- Alphabetic
- By Inheritance
- helpers
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Deprecated Value Members
- object AsyncStreamHelper
A general helper class that creates org.mongodb.scala.gridfs.AsyncInputStream or org.mongodb.scala.gridfs.AsyncOutputStream instances.
A general helper class that creates org.mongodb.scala.gridfs.AsyncInputStream or org.mongodb.scala.gridfs.AsyncOutputStream instances.
Provides support for:
-
Array[Byte]
- Converts byte arrays into Async Streams -ByteBuffer
- Converts ByteBuffers into Async Streams -InputStream
- Converts InputStreams into Async Streams (Note: InputStream implementations are blocking) -OutputStream
- Converts OutputStreams into Async Streams (Note: OutputStream implementations are blocking)- Annotations
- @deprecated
- Deprecated
(Since version 2.8.0) Use
Observable[ByteBuffer]
instead- Since
1.2
- object AsynchronousChannelHelper
A helper class to convert to AsynchronousByteChannel or AsynchronousFileChannel instances into org.mongodb.scala.gridfs.AsyncInputStream or org.mongodb.scala.gridfs.AsyncOutputStream instances.
A helper class to convert to AsynchronousByteChannel or AsynchronousFileChannel instances into org.mongodb.scala.gridfs.AsyncInputStream or org.mongodb.scala.gridfs.AsyncOutputStream instances.
- Annotations
- @deprecated
- Deprecated
(Since version 2.8.0) Use
Observable[ByteBuffer]
instead- Since
1.2
- Note
Requires Java 7 or greater.
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: