Class

it.agilelab.bigdata.wasp.repository.mongo

WaspDBMongoImp

Related Doc: package mongo

Permalink

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)

    Permalink

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 close(): Unit

    Permalink
    Definition Classes
    WaspDBMongoImpWaspMongoDB → WaspDB
  8. def createCollection(collection: String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    MongoDBHelper
  9. def deleteByName[T <: Model](name: String)(implicit ct: ClassTag[T], typeTag: scala.reflect.api.JavaUniverse.TypeTag[T]): Unit

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

    Permalink
    Definition Classes
    WaspDBMongoImpWaspMongoDB
  11. def deleteFileById(id: BsonObjectId): Unit

    Permalink
    Definition Classes
    WaspDBMongoImpWaspMongoDB
  12. def enumerateFile(file: String): Array[Byte]

    Permalink
  13. final def eq(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Attributes
    protected[java.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]

    Permalink
    Definition Classes
    WaspDBMongoImpWaspMongoDB
  18. def getAllDocuments[T](collection: String)(implicit ct: ClassTag[T]): Seq[T]

    Permalink
    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]

    Permalink
    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]

    Permalink
    Definition Classes
    WaspDBMongoImpWaspMongoDB
  21. def getAllDocumentsByKey[T](key: String, value: BsonValue, collection: String)(implicit ct: ClassTag[T]): Seq[T]

    Permalink
    Attributes
    protected
    Definition Classes
    MongoDBHelper
  22. def getAllRaw[T <: Model]()(implicit ct: ClassTag[T], typeTag: scala.reflect.api.JavaUniverse.TypeTag[T]): Seq[BsonDocument]

    Permalink
    Definition Classes
    WaspDBMongoImpWaspMongoDB
  23. final def getClass(): Class[_]

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

    Permalink
    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]

    Permalink
    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]

    Permalink
    Definition Classes
    WaspDBMongoImpWaspMongoDB
  27. def getDocumentByKey[T](key: String, value: BsonValue, collection: String)(implicit ct: ClassTag[T]): Option[T]

    Permalink
    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]

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

    Permalink
    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]

    Permalink
    Definition Classes
    WaspDBMongoImpWaspMongoDB
  31. def getFileByID(id: BsonObjectId): Array[Byte]

    Permalink
    Definition Classes
    WaspDBMongoImpWaspMongoDB
  32. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  33. def initializeCollections(): Unit

    Permalink

    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.

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

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

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

    Permalink
    Definition Classes
    WaspDBMongoImpWaspMongoDB
  37. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  38. val logger: WaspLogger

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  39. val mongoDatabase: MongoDatabase

    Permalink
    Definition Classes
    WaspDBMongoImp → MongoDBHelper
  40. final def ne(arg0: AnyRef): Boolean

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

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

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

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

    Permalink
    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

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

    Permalink
    Definition Classes
    WaspDBMongoImpWaspMongoDB
  47. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    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

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

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

    Permalink
    Definition Classes
    WaspDBMongoImpWaspMongoDB
  52. final def wait(): Unit

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

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

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

Inherited from WaspMongoDB

Inherited from WaspDB

Inherited from MongoDBHelper

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped