Trait/Object

it.agilelab.bigdata.wasp.repository.mongo

WaspMongoDB

Related Docs: object WaspMongoDB | package mongo

Permalink

trait WaspMongoDB extends MongoDBHelper with WaspDB

Linear Supertypes
WaspDB, MongoDBHelper, Logging, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WaspMongoDB
  2. WaspDB
  3. MongoDBHelper
  4. Logging
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def close(): Unit

    Permalink
    Definition Classes
    WaspMongoDB → WaspDB
  2. abstract def deleteByName[T <: Model](name: String)(implicit ct: ClassTag[T], typeTag: scala.reflect.api.JavaUniverse.TypeTag[T]): Unit

    Permalink
  3. abstract def deleteByQuery[T <: Model](query: Map[String, BsonValue])(implicit ct: ClassTag[T], typeTag: scala.reflect.api.JavaUniverse.TypeTag[T]): Unit

    Permalink
  4. abstract def deleteFileById(id: BsonObjectId): Unit

    Permalink
  5. abstract def getAll[T <: Model]()(implicit ct: ClassTag[T], typeTag: scala.reflect.api.JavaUniverse.TypeTag[T]): Seq[T]

    Permalink
  6. abstract def getAllDocumentsByField[T <: Model](field: String, value: BsonValue)(implicit ct: ClassTag[T], typeTag: scala.reflect.api.JavaUniverse.TypeTag[T]): Seq[T]

    Permalink
  7. abstract def getAllDocumentsByFieldRaw[T <: Model](field: String, value: BsonValue)(implicit ct: ClassTag[T], typeTag: scala.reflect.api.JavaUniverse.TypeTag[T]): Seq[BsonDocument]

    Permalink
  8. abstract def getAllRaw[T <: Model]()(implicit ct: ClassTag[T], typeTag: scala.reflect.api.JavaUniverse.TypeTag[T]): Seq[BsonDocument]

    Permalink
  9. abstract def getDocumentByField[T <: Model](field: String, value: BsonValue)(implicit ct: ClassTag[T], typeTag: scala.reflect.api.JavaUniverse.TypeTag[T]): Option[T]

    Permalink
  10. abstract def getDocumentByFieldRaw[T <: Model](field: String, value: BsonValue)(implicit ct: ClassTag[T], typeTag: scala.reflect.api.JavaUniverse.TypeTag[T]): Option[BsonDocument]

    Permalink
  11. abstract def getDocumentByQueryParams[T <: Model](query: Map[String, BsonValue], sort: Option[BsonDocument])(implicit ct: ClassTag[T], typeTag: scala.reflect.api.JavaUniverse.TypeTag[T]): Option[T]

    Permalink
  12. abstract def getDocumentByQueryParamsRaw[T <: Model](query: Map[String, BsonValue])(implicit ct: ClassTag[T], typeTag: scala.reflect.api.JavaUniverse.TypeTag[T]): Option[BsonDocument]

    Permalink
  13. abstract def getFileByID(id: BsonObjectId): Array[Byte]

    Permalink
  14. abstract def insert[T <: Model](doc: T)(implicit ct: ClassTag[T], typeTag: scala.reflect.api.JavaUniverse.TypeTag[T]): Unit

    Permalink
  15. abstract def insertIfNotExists[T <: Model](doc: T)(implicit ct: ClassTag[T], typeTag: scala.reflect.api.JavaUniverse.TypeTag[T]): Unit

    Permalink
  16. abstract def insertRaw[T <: Model](doc: BsonDocument)(implicit ct: ClassTag[T], typeTag: scala.reflect.api.JavaUniverse.TypeTag[T]): Unit

    Permalink
  17. abstract def mongoDatabase: MongoDatabase

    Permalink
    Definition Classes
    MongoDBHelper
  18. abstract def saveFile(arrayBytes: Array[Byte], file: String, metadata: BsonDocument): BsonObjectId

    Permalink
  19. abstract def updateByName[T <: Model](name: String, doc: T)(implicit ct: ClassTag[T], typeTag: scala.reflect.api.JavaUniverse.TypeTag[T]): UpdateResult

    Permalink
  20. abstract def updateByNameRaw[T <: Model](name: String, doc: BsonDocument)(implicit ct: ClassTag[T], typeTag: scala.reflect.api.JavaUniverse.TypeTag[T]): UpdateResult

    Permalink
  21. abstract def upsert[T <: Model](doc: T)(implicit ct: ClassTag[T], typeTag: scala.reflect.api.JavaUniverse.TypeTag[T]): Unit

    Permalink

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def addDocumentToCollection[T](collection: String, doc: T)(implicit ct: ClassTag[T]): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    MongoDBHelper
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def createCollection(collection: String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    MongoDBHelper
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def exitsDocumentByKey(key: String, value: BsonValue, collection: String): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    MongoDBHelper
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def getAllDocuments[T](collection: String)(implicit ct: ClassTag[T]): Seq[T]

    Permalink
    Attributes
    protected
    Definition Classes
    MongoDBHelper
  13. def getAllDocumentsByKey[T](key: String, value: BsonValue, collection: String)(implicit ct: ClassTag[T]): Seq[T]

    Permalink
    Attributes
    protected
    Definition Classes
    MongoDBHelper
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def getCollection(collection: String): MongoCollection[Document]

    Permalink
    Attributes
    protected
    Definition Classes
    MongoDBHelper
  16. def getDocumentByKey[T](key: String, value: BsonValue, collection: String)(implicit ct: ClassTag[T]): Option[T]

    Permalink
    Attributes
    protected
    Definition Classes
    MongoDBHelper
  17. def getDocumentByQueryParams[T](queryParams: Map[String, BsonValue], sort: Option[BsonDocument], collection: String)(implicit ct: ClassTag[T]): Option[T]

    Permalink
    Attributes
    protected
    Definition Classes
    MongoDBHelper
  18. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. val logger: WaspLogger

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  21. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. def removeDocumentFromCollection[T](key: String, value: BsonValue, collection: String)(implicit ct: ClassTag[T]): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    MongoDBHelper
  25. def removeDocumentFromCollectionByQuery[T](query: BsonDocument, collection: String)(implicit ct: ClassTag[T]): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    MongoDBHelper
  26. def replaceDocumentToCollection[T](key: String, value: BsonValue, updateValue: T, collection: String, upsert: Boolean = false)(implicit ct: ClassTag[T]): UpdateResult

    Permalink
    Attributes
    protected
    Definition Classes
    MongoDBHelper
  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  28. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  29. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from WaspDB

Inherited from MongoDBHelper

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped