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

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

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

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

    Permalink
  18. abstract def mongoDatabase: MongoDatabase

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

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

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

    Permalink
  22. 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
    @HotSpotIntrinsicCandidate() @throws( ... )
  7. def createCollection(collection: String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    MongoDBHelper
    Annotations
    @silent( "deprecated" )
  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 getAllDocuments[T](collection: String)(implicit ct: ClassTag[T]): Seq[T]

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. val logger: WaspLogger

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

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

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

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    MongoDBHelper
  25. 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
  26. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  28. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. 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 WaspDB

Inherited from MongoDBHelper

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped