Akka-stream support for GridFS.
- Companion:
- object
Value members
Concrete methods
Returns an Sink
that will consume data to put into a GridFS store.
Returns an Sink
that will consume data to put into a GridFS store.
- Type parameters:
- Id
the type of the id of this file (generally
BSONObjectID
orBSONValue
)- M
the type of the message digest
- Value parameters:
- chunkSize
the size (in byte) of the chunks
- digestFinalize
the function to finalize the digest
- digestInit
the factory for the message digest
- digestUpdate
the function to update the digest
- file
the metadata of the file to store.
Returns an Sink
that will consume data to put into a GridFS store.
Returns an Sink
that will consume data to put into a GridFS store.
- Value parameters:
- chunkSize
the size (in byte) of the chunks (default: 255kB)
- file
the metadata of the file to store.
Produces an enumerator of chunks of bytes from the chunks
collection
matching the given file metadata.
Produces an enumerator of chunks of bytes from the chunks
collection
matching the given file metadata.
- Value parameters:
- file
the file to be read