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
    @HotSpotIntrinsicCandidate() @throws( ... )
  7. def close(): Unit

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

    Permalink
    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

    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 getAll[T <: Model]()(implicit ct: ClassTag[T], typeTag: scala.reflect.api.JavaUniverse.TypeTag[T]): Seq[T]

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

    Permalink
    Attributes
    protected
    Definition Classes
    MongoDBHelper
  18. 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
  19. 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
  20. def getAllDocumentsByKey[T](key: String, value: BsonValue, collection: String)(implicit ct: ClassTag[T]): Seq[T]

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

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

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  23. def getCollection(collection: String): MongoCollection[Document]

    Permalink
    Attributes
    protected
    Definition Classes
    MongoDBHelper
  24. 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
  25. 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
  26. def getDocumentByKey[T](key: String, value: BsonValue, collection: String)(implicit ct: ClassTag[T]): Option[T]

    Permalink
    Attributes
    protected
    Definition Classes
    MongoDBHelper
  27. 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
  28. def getDocumentByQueryParams[T](queryParams: Map[String, BsonValue], sort: Option[BsonDocument], collection: String)(implicit ct: ClassTag[T]): Option[T]

    Permalink
    Attributes
    protected
    Definition Classes
    MongoDBHelper
  29. 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
  30. def getFileByID(id: BsonObjectId): Array[Byte]

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

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  32. 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.

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

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

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

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

    Permalink
    Definition Classes
    Any
  37. val logger: WaspLogger

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  41. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  42. def removeDocumentFromCollection[T](key: String, value: BsonValue, collection: String)(implicit arg0: ClassTag[T]): Unit

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

    Permalink
    Attributes
    protected
    Definition Classes
    MongoDBHelper
  44. 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
  45. def saveFile(arrayBytes: Array[Byte], file: String, metadata: BsonDocument): BsonObjectId

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  48. def updateByName[T <: Model](name: String, doc: T)(implicit ct: ClassTag[T], typeTag: scala.reflect.api.JavaUniverse.TypeTag[T]): UpdateResult

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

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

    Permalink
    Definition Classes
    WaspDBMongoImpWaspMongoDB
  51. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  53. final def wait(): Unit

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

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from WaspMongoDB

Inherited from WaspDB

Inherited from MongoDBHelper

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped