package gridfs
- Alphabetic
- By Inheritance
- gridfs
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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
- 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
- case class GridFSDownloadObservable(gridFSDownloadStream: GridFSDownloadStream) extends Observable[ByteBuffer] with Product with Serializable
- 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
- trait GridFSUploadObservable[T] extends SingleObservable[T]
A GridFS
Observable
for uploading data into GridFSA GridFS
Observable
for uploading data into GridFSProvides the
id
for the file to be uploaded. Cancelling the subscription to this publisher will cause any uploaded data to be cleaned up and removed.- T
the result type of the publisher
- Since
2.8
- 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
Deprecated 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
- Annotations
- @deprecated
- Deprecated
(Since version 2.8.0) Use
Observable[ByteBuffer]
instead- 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
- Annotations
- @deprecated
- Deprecated
(Since version 2.8.0) Use
Observable[ByteBuffer]
instead- Since
1.2
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: