Crud

dev.mongocamp.driver.mongodb.gridfs.Crud
abstract class Crud extends Search

Attributes

Graph
Supertypes
class Search
class Base
trait LazyLogging
class Object
trait Matchable
class Any
Show all
Known subtypes
class Metadata
class GridFSDAO

Members list

Value members

Concrete methods

def deleteOne(id: ObjectId): Observable[Unit]
def insertOne(fileName: String, stream: InputStream, metadata: AnyRef, chunkSizeBytes: Int): Observable[ObjectId]

Inherited methods

def bucketName: String

Attributes

Inherited from:
Base
def chunkSizeBytes: Int

Attributes

Inherited from:
Base
def createMetadataKey(key: String): String

Attributes

Inherited from:
Base
def download(oid: ObjectId, outputStream: OutputStream): GridFSStreamObserver

Attributes

Inherited from:
Base
def download(id: ObjectId, file: File): GridFSStreamObserver

Attributes

Inherited from:
Base
def download(oid: ObjectId): GridFSDownloadObservable

Attributes

Inherited from:
Base
def downloadFileResult(id: ObjectId, file: File): Long

Attributes

Inherited from:
Base
def downloadStreamResult(id: ObjectId, outputStream: OutputStream): Long

Attributes

Inherited from:
Base
def drop(): Observable[Unit]

Attributes

Inherited from:
Base
def find(key: String, value: Any): GridFSFindObservable

Attributes

Inherited from:
Search
def find(filter: Bson, sort: Bson, limit: Int): GridFSFindObservable

Attributes

Inherited from:
Search
def findById(oid: ObjectId): GridFSFindObservable

Attributes

Inherited from:
Search
def findByMetadataValue(key: String, value: Any): GridFSFindObservable

Attributes

Inherited from:
Search
def readConcern: ReadConcern

Attributes

Inherited from:
Base
def readPreference: ReadPreference

Attributes

Inherited from:
Base
protected def streamObserverResult(observer: GridFSStreamObserver): Long

Attributes

Inherited from:
Base
def upload(fileName: String, source: Observable[ByteBuffer], metadata: AnyRef, chunkSizeBytes: Int): Observable[ObjectId]

Attributes

Inherited from:
Base
def uploadFile(fileName: String, file: File, metadata: AnyRef, chunkSizeBytes: Int): Observable[ObjectId]

Attributes

Inherited from:
Base
def writeConcern: WriteConcern

Attributes

Inherited from:
Base

Inherited and Abstract methods

protected def gridfsBucket: GridFSBucket

Attributes

Inherited from:
Base

Inherited fields

lazy protected val logger: Logger

Attributes

Inherited from:
LazyLogging