Create a new GridFS File from a java.io.InputStream and a specific filename
Create a new GridFS File from a java.io.InputStream and a specific filename
Uses a loan pattern, so you need to pass a curried function which expects a GridFSInputFile as a parameter. It AUTOMATICALLY saves the GridFS file at it's end, so throw an exception if you want to fail. If you don't want automatic saving/loaning please see the createFile method instead.
The ID of the created File (Option[AnyRef])
createFile
Create a new GridFS File from a java.io.InputStream
Create a new GridFS File from a java.io.InputStream
Uses a loan pattern, so you need to pass a curried function which expects a GridFSInputFile as a parameter. It AUTOMATICALLY saves the GridFS file at it's end, so throw an exception if you want to fail. If you don't want automatic saving/loaning please see the createFile method instead.
The ID of the created File (Option[AnyRef])
createFile
Create a new GridFS File from a java.io.File
Create a new GridFS File from a java.io.File
Uses a loan pattern, so you need to pass a curried function which expects a GridFSInputFile as a parameter. It AUTOMATICALLY saves the GridFS file at it's end, so throw an exception if you want to fail. If you don't want automatic saving/loaning please see the createFile method instead.
The ID of the created File (Option[AnyRef])
createFile
Create a new GridFS File from a Byte Array
Create a new GridFS File from a Byte Array
Uses a loan pattern, so you need to pass a curried function which expects a GridFSInputFile as a parameter. It AUTOMATICALLY saves the GridFS file at it's end, so throw an exception if you want to fail. If you don't want automatic saving/loaning please see the createFile method instead.
The ID of the created File (Option[AnyRef])
createFile
Create a new GridFS File from a scala.io.Source
Create a new GridFS File from a scala.io.Source
Uses a loan pattern, so you need to pass a curried function which expects a GridFSInputFile as a parameter. It AUTOMATICALLY saves the GridFS file at it's end, so throw an exception if you want to fail. If you don't want automatic saving/loaning please see the createFile method instead.
The ID of the created File (Option[AnyRef])
createFile
createFile
createFile
Creates a new file in GridFS
Returns a cursor for this filestore of all of the files...
Returns a cursor for this filestore of all of the files...
Find by query
Find by query
Find by query - returns a single item
Find by query - returns a single item
Find by query
Find by query
loan
loan
Basic implementation of the Loan pattern - the idea is to pass a Unit returning function and a Mongo file handle, and work on it within a code block.
(Changed in version 2.9.0) The behavior of scanRight
has changed. The previous behavior can be reproduced with scanRight.reverse.
(Changed in version 2.9.0) transpose
throws an IllegalArgumentException
if collections are not uniformly sized.
Loan pattern style file creation.
Loan pattern style file creation.
The ID of the created File (Option[AnyRef])
Loan pattern style file creation.
Loan pattern style file creation.
The ID of the created File (Option[AnyRef])
Loan pattern style file creation.
Loan pattern style file creation.
The ID of the created File (Option[AnyRef])
Loan pattern style file creation.
Loan pattern style file creation.
The ID of the created File (Option[AnyRef])