package gridfs
- Alphabetic
- By Inheritance
- gridfs
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Package Members
- package helpers
Contains helper classes to create org.mongodb.scala.gridfs.AsyncInputStream or org.mongodb.scala.gridfs.AsyncOutputStream instances from external sources.
Type Members
- trait AsyncInputStream extends AnyRef
The Async Input Stream interface represents some asynchronous input stream of bytes.
The Async Input Stream interface represents some asynchronous input stream of bytes.
See the org.mongodb.scala.gridfs.helpers package for adapters that create an
AsyncInputStream
- Since
1.2
- trait AsyncOutputStream extends AnyRef
The Async Output Stream interface represents some asynchronous output stream of bytes.
The Async Output Stream interface represents some asynchronous output stream of bytes.
See the org.mongodb.scala.gridfs.helpers package for adapters that create an
AsyncOutputStream
- Since
1.2
- case class GridFSBucket(wrapped: com.mongodb.async.client.gridfs.GridFSBucket) extends Product with Serializable
Represents a GridFS Bucket
Represents a GridFS Bucket
- Since
1.2
- type GridFSDownloadOptions = com.mongodb.client.gridfs.model.GridFSDownloadOptions
The GridFS download by name options
The GridFS download by name options
Controls the selection of the revision to download
- case class GridFSDownloadStream(wrapped: com.mongodb.async.client.gridfs.GridFSDownloadStream) extends AsyncInputStream with Product with Serializable
A GridFS InputStream for downloading data from GridFS
A GridFS InputStream for downloading data from GridFS
Provides the
GridFSFile
for the file to being downloaded as well as theread
methods of aAsyncInputStream
- Since
1.2
- type GridFSFile = com.mongodb.client.gridfs.model.GridFSFile
The GridFSFile
- case class GridFSFindObservable(wrapped: GridFSFindIterable) extends Observable[GridFSFile] with Product with Serializable
Observable representing the GridFS Files Collection.
Observable representing the GridFS Files Collection.
- Since
1.2
- type GridFSUploadOptions = com.mongodb.client.gridfs.model.GridFSUploadOptions
GridFS upload options
GridFS upload options
Customizable options used when uploading files into GridFS
- case class GridFSUploadStream(wrapped: com.mongodb.async.client.gridfs.GridFSUploadStream) extends AsyncOutputStream with Product with Serializable
A GridFS OutputStream for uploading data into GridFS
A GridFS OutputStream for uploading data into GridFS
Provides the id for the file to be uploaded as well as the write methods of a AsyncOutputStream
- Since
1.2
- implicit class JavaAsyncInputStreamToScala extends AsyncInputStream
- implicit class JavaAsyncOutputStreamToScala extends AsyncOutputStream
- type MongoGridFSException = com.mongodb.MongoGridFSException
An exception indicating that a failure occurred in GridFS.
- implicit class ScalaAsyncInputStreamToJava extends com.mongodb.async.client.gridfs.AsyncInputStream
- implicit class ScalaAsyncOutputStreamToJava extends com.mongodb.async.client.gridfs.AsyncOutputStream
Value Members
- object GridFSBucket extends Serializable
A factory for GridFSBucket instances.
A factory for GridFSBucket instances.
- Since
1.2
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: