Packages

class WaspDBMongoImp extends WaspMongoDB

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

Instance Constructors

  1. new WaspDBMongoImp(mongoDatabase: MongoDatabase)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addDocumentToCollection[T](collection: String, doc: T)(implicit ct: ClassTag[T]): Unit
    Attributes
    protected
    Definition Classes
    MongoDBHelper
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. def close(): Unit
    Definition Classes
    WaspDBMongoImpWaspMongoDB → WaspDB
  8. def createCollection(collection: String): Unit
    Attributes
    protected
    Definition Classes
    MongoDBHelper
    Annotations
    @silent( "deprecated" )
  9. def deleteByName[T <: Model](name: String)(implicit ct: ClassTag[T], typeTag: scala.reflect.api.JavaUniverse.TypeTag[T]): Unit
    Definition Classes
    WaspDBMongoImpWaspMongoDB
  10. def deleteByQuery[T <: Model](query: Map[String, BsonValue])(implicit ct: ClassTag[T], typeTag: scala.reflect.api.JavaUniverse.TypeTag[T]): Unit
    Definition Classes
    WaspDBMongoImpWaspMongoDB
  11. def deleteFileById(id: BsonObjectId): Unit
    Definition Classes
    WaspDBMongoImpWaspMongoDB
  12. def enumerateFile(file: String): Array[Byte]
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  15. def exitsDocumentByKey(key: String, value: BsonValue, collection: String): Boolean
    Attributes
    protected
    Definition Classes
    MongoDBHelper
  16. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def getAll[T <: Model]()(implicit ct: ClassTag[T], typeTag: scala.reflect.api.JavaUniverse.TypeTag[T]): Seq[T]
    Definition Classes
    WaspDBMongoImpWaspMongoDB
  18. def getAllDocuments[T](collection: String)(implicit ct: ClassTag[T]): Seq[T]
    Attributes
    protected
    Definition Classes
    MongoDBHelper
  19. def getAllDocumentsByField[T <: Model](field: String, value: BsonValue)(implicit ct: ClassTag[T], typeTag: scala.reflect.api.JavaUniverse.TypeTag[T]): Seq[T]
    Definition Classes
    WaspDBMongoImpWaspMongoDB
  20. def getAllDocumentsByFieldRaw[T <: Model](field: String, value: BsonValue)(implicit ct: ClassTag[T], typeTag: scala.reflect.api.JavaUniverse.TypeTag[T]): Seq[BsonDocument]
    Definition Classes
    WaspDBMongoImpWaspMongoDB
  21. def getAllDocumentsByKey[T](key: String, value: BsonValue, collection: String)(implicit ct: ClassTag[T]): Seq[T]
    Attributes
    protected
    Definition Classes
    MongoDBHelper
  22. def getAllRaw[T <: Model]()(implicit ct: ClassTag[T], typeTag: scala.reflect.api.JavaUniverse.TypeTag[T]): Seq[BsonDocument]
    Definition Classes
    WaspDBMongoImpWaspMongoDB
  23. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  24. def getCollection(collection: String): MongoCollection[Document]
    Attributes
    protected
    Definition Classes
    MongoDBHelper
  25. def getDocumentByField[T <: Model](field: String, value: BsonValue)(implicit ct: ClassTag[T], typeTag: scala.reflect.api.JavaUniverse.TypeTag[T]): Option[T]
    Definition Classes
    WaspDBMongoImpWaspMongoDB
  26. def getDocumentByFieldRaw[T <: Model](field: String, value: BsonValue)(implicit ct: ClassTag[T], typeTag: scala.reflect.api.JavaUniverse.TypeTag[T]): Option[BsonDocument]
    Definition Classes
    WaspDBMongoImpWaspMongoDB
  27. def getDocumentByKey[T](key: String, value: BsonValue, collection: String)(implicit ct: ClassTag[T]): Option[T]
    Attributes
    protected
    Definition Classes
    MongoDBHelper
  28. def getDocumentByQueryParams[T <: Model](query: Map[String, BsonValue], sort: Option[BsonDocument])(implicit ct: ClassTag[T], typeTag: scala.reflect.api.JavaUniverse.TypeTag[T]): Option[T]
    Definition Classes
    WaspDBMongoImpWaspMongoDB
  29. def getDocumentByQueryParams[T](queryParams: Map[String, BsonValue], sort: Option[BsonDocument], collection: String)(implicit ct: ClassTag[T]): Option[T]
    Attributes
    protected
    Definition Classes
    MongoDBHelper
  30. def getDocumentByQueryParamsRaw[T <: Model](query: Map[String, BsonValue])(implicit ct: ClassTag[T], typeTag: scala.reflect.api.JavaUniverse.TypeTag[T]): Option[BsonDocument]
    Definition Classes
    WaspDBMongoImpWaspMongoDB
  31. def getFileByID(id: BsonObjectId): Array[Byte]
    Definition Classes
    WaspDBMongoImpWaspMongoDB
  32. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  33. def initializeCollections(): Unit

    initializes collections.

    initializes collections.

    Collections are initialized concurrently by different nodes so each node tries to create it and backs off if another node concurrently created the collections.

    To force name as key of models an index with unique constraint is concurrently created, if another node concurrently created the index the current node backs off.

    Definition Classes
    WaspDBMongoImpWaspMongoDB
  34. def insert[T <: Model](doc: T)(implicit ct: ClassTag[T], typeTag: scala.reflect.api.JavaUniverse.TypeTag[T]): Unit
    Definition Classes
    WaspDBMongoImpWaspMongoDB
  35. def insertIfNotExists[T <: Model](doc: T)(implicit ct: ClassTag[T], typeTag: scala.reflect.api.JavaUniverse.TypeTag[T]): Unit
    Definition Classes
    WaspDBMongoImpWaspMongoDB
  36. def insertRaw[T <: Model](doc: BsonDocument)(implicit ct: ClassTag[T], typeTag: scala.reflect.api.JavaUniverse.TypeTag[T]): Unit
    Definition Classes
    WaspDBMongoImpWaspMongoDB
  37. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  38. val logger: WaspLogger
    Attributes
    protected
    Definition Classes
    Logging
  39. val mongoDatabase: MongoDatabase
    Definition Classes
    WaspDBMongoImp → MongoDBHelper
  40. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  41. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  42. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  43. def removeDocumentFromCollection[T](key: String, value: BsonValue, collection: String)(implicit arg0: ClassTag[T]): Unit
    Attributes
    protected
    Definition Classes
    MongoDBHelper
  44. def removeDocumentFromCollectionByQuery[T](query: BsonDocument, collection: String)(implicit arg0: ClassTag[T]): Unit
    Attributes
    protected
    Definition Classes
    MongoDBHelper
  45. def replaceDocumentToCollection[T](key: String, value: BsonValue, updateValue: T, collection: String, upsert: Boolean = false)(implicit ct: ClassTag[T]): UpdateResult
    Attributes
    protected
    Definition Classes
    MongoDBHelper
  46. def saveFile(arrayBytes: Array[Byte], file: String, metadata: BsonDocument): BsonObjectId
    Definition Classes
    WaspDBMongoImpWaspMongoDB
  47. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  48. def toString(): String
    Definition Classes
    AnyRef → Any
  49. def updateByName[T <: Model](name: String, doc: T)(implicit ct: ClassTag[T], typeTag: scala.reflect.api.JavaUniverse.TypeTag[T]): UpdateResult
    Definition Classes
    WaspDBMongoImpWaspMongoDB
  50. def updateByNameRaw[T <: Model](name: String, doc: BsonDocument)(implicit ct: ClassTag[T], typeTag: scala.reflect.api.JavaUniverse.TypeTag[T]): UpdateResult
    Definition Classes
    WaspDBMongoImpWaspMongoDB
  51. def upsert[T <: Model](doc: T)(implicit ct: ClassTag[T], typeTag: scala.reflect.api.JavaUniverse.TypeTag[T]): Unit
    Definition Classes
    WaspDBMongoImpWaspMongoDB
  52. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  53. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  54. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from WaspMongoDB

Inherited from WaspDB

Inherited from MongoDBHelper

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped