Chunks

dev.mongocamp.driver.mongodb.gridfs.Metadata.Chunks
object Chunks extends MongoDAO[Document]

Attributes

Graph
Supertypes
class MongoDAO[Document]
class Crud[Document]
class Search[Document]
class Base[Document]
trait LazyLogging
class Object
trait Matchable
class Any
Show all
Self type
Chunks.type

Members list

Type members

Inherited classlikes

object Raw extends MongoDAO[Document]

Attributes

Inherited from:
MongoDAO
Supertypes
class MongoDAO[Document]
class Crud[Document]
class Search[Document]
class Base[Document]
trait LazyLogging
class Object
trait Matchable
class Any
Show all

Value members

Inherited methods

def addChangeObserver(observer: ChangeObserver[Document]): ChangeObserver[Document]

Attributes

Inherited from:
MongoDAO
def bulkWrite(requests: List[WriteModel[Document]], ordered: Boolean): SingleObservable[BulkWriteResult]

Attributes

Inherited from:
Crud
def bulkWrite(requests: List[WriteModel[Document]], options: BulkWriteOptions): SingleObservable[BulkWriteResult]

Attributes

Inherited from:
Crud
def bulkWriteMany(values: Seq[Document], ordered: Boolean): SingleObservable[BulkWriteResult]

Attributes

Inherited from:
Crud
def bulkWriteMany(values: Seq[Document], options: BulkWriteOptions): SingleObservable[BulkWriteResult]

Attributes

Inherited from:
Crud
protected def coll: MongoCollection[Document]

Attributes

Inherited from:
MongoDAO

Attributes

Inherited from:
MongoDAO
def columnNames(sampleSize: Int, maxWait: Int): List[String]

Value parameters

sampleSize

use sample size greater 0 for better performance on big collections

Attributes

Returns

List of column names

Inherited from:
MongoDAO
def compact: Observable[Option[CompactResult]]

Attributes

Inherited from:
MongoDAO
def count(filter: Bson, options: CountOptions): Observable[Long]

Attributes

Inherited from:
Base
def createExpiringIndexForField(fieldName: String, duration: Duration, sortAscending: Boolean, name: Option[String]): SingleObservable[String]

Attributes

Inherited from:
Base
def createHashedIndexForField(fieldName: String, options: IndexOptions): SingleObservable[String]

Attributes

Inherited from:
Base
def createIndex(key: Bson, options: IndexOptions): SingleObservable[String]

Attributes

Inherited from:
Base
def createIndexForField(fieldName: String, sortAscending: Boolean, options: IndexOptions): SingleObservable[String]

Attributes

Inherited from:
Base
def createIndexForFieldWithName(fieldName: String, sortAscending: Boolean, name: String): SingleObservable[String]

Attributes

Inherited from:
Base
def createTextIndexForField(fieldName: String, options: IndexOptions): SingleObservable[String]

Attributes

Inherited from:
Base
def createUniqueIndexForField(fieldName: String, sortAscending: Boolean, name: Option[String]): SingleObservable[String]

Attributes

Inherited from:
Base
def deleteAll(options: DeleteOptions): Observable[DeleteResult]

Attributes

Inherited from:
Crud
def deleteAll(): Observable[DeleteResult]

Attributes

Inherited from:
Crud
def deleteMany(filter: Bson, options: DeleteOptions): Observable[DeleteResult]

Attributes

Inherited from:
Crud
def deleteMany(filter: Bson): Observable[DeleteResult]

Attributes

Inherited from:
Crud
def deleteOne(value: Document): Observable[DeleteResult]

Attributes

Inherited from:
Crud
def deleteOne(filter: Bson, options: DeleteOptions): Observable[DeleteResult]

Attributes

Inherited from:
Crud
def deleteOne(filter: Bson): Observable[DeleteResult]

Attributes

Inherited from:
Crud
def distinct[S](fieldName: String, filter: Bson): DistinctObservable[BsonValue]

Attributes

Inherited from:
Search
def distinctResult[S](fieldName: String, filter: Bson): Seq[S]

Attributes

Inherited from:
Search
def documentToObject[A](document: Document, decoder: Decoder[A]): A

Attributes

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

Attributes

Inherited from:
Base
def dropIndex(keys: Bson, options: DropIndexOptions): SingleObservable[Unit]

Attributes

Inherited from:
Base
def dropIndexForName(name: String, options: DropIndexOptions): SingleObservable[Unit]

Attributes

Inherited from:
Base
def find(name: String, value: Any): Observable[Document]

Attributes

Inherited from:
Search
def find(filter: Bson, sort: Bson, projection: Bson, limit: Int, skip: Int): Observable[Document]

Attributes

Inherited from:
Search
def findAggregated(pipeline: Seq[Bson], allowDiskUse: Boolean): Observable[Document]

Attributes

Inherited from:
Search
def findById(oid: ObjectId): Observable[Document]

Attributes

Inherited from:
Search
def hasIndexForField(fieldName: String): Boolean

Attributes

Inherited from:
Base
def importJsonFile(file: File): SingleObservable[BulkWriteResult]

Attributes

Inherited from:
MongoDAO
def indexForName(name: String): Option[MongoIndex]

Attributes

Inherited from:
Base
def indexList(): List[MongoIndex]

Attributes

Inherited from:
Base
def insertMany(values: Seq[Document], options: InsertManyOptions): Observable[InsertManyResult]

Attributes

Inherited from:
Crud
def insertMany(values: Seq[Document]): Observable[InsertManyResult]

Attributes

Inherited from:
Crud
def insertOne(value: Document, options: InsertOneOptions): Observable[InsertOneResult]

Attributes

Inherited from:
Crud
def insertOne(value: Document): Observable[InsertOneResult]

Attributes

Inherited from:
Crud
def listIndexes: ListIndexesObservable[Map[String, Any]]

Attributes

Inherited from:
Base
def replaceOne(filter: Bson, value: Document, options: ReplaceOptions): Observable[UpdateResult]

Attributes

Inherited from:
Crud
def replaceOne(filter: Bson, value: Document): Observable[UpdateResult]

Attributes

Inherited from:
Crud
def replaceOne(value: Document, options: ReplaceOptions): Observable[UpdateResult]

Attributes

Inherited from:
Crud
def replaceOne(value: Document): Observable[UpdateResult]

Attributes

Inherited from:
Crud
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
MongoDAO -> Any
Inherited from:
MongoDAO
def touchInternal(filter: Bson): Observable[UpdateResult]

Attributes

Inherited from:
Crud
def updateMany(filter: Bson, update: Bson, options: UpdateOptions): Observable[UpdateResult]

Attributes

Inherited from:
Crud
def updateMany(filter: Bson, update: Bson): Observable[UpdateResult]

Attributes

Inherited from:
Crud
def updateOne(filter: Bson, update: Bson, options: UpdateOptions): Observable[UpdateResult]

Attributes

Inherited from:
Crud
def updateOne(filter: Bson, update: Bson): Observable[UpdateResult]

Attributes

Inherited from:
Crud

Inherited fields

val collection: MongoCollection[Document]

Attributes

Inherited from:
MongoDAO
val databaseName: String

Attributes

Inherited from:
MongoDAO
lazy protected val logger: Logger

Attributes

Inherited from:
LazyLogging
val name: String

Attributes

Inherited from:
MongoDAO