reactivemongo.extensions.dao

Dao

abstract class Dao[C <: Collection, Structure, Model, ID, Writer[_]] extends AnyRef

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Dao
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Dao(db: () ⇒ DB, collectionName: String)(implicit arg0: CollectionProducer[C])

Abstract Value Members

  1. abstract def bulkInsert(models: TraversableOnce[Model], bulkSize: Int, bulkByteSize: Int): Future[Int]

  2. abstract def count(selector: Structure): Future[Int]

  3. abstract def drop(): Future[Boolean]

  4. abstract def dropSync(timeout: Duration): Boolean

  5. abstract def ensureIndexes(): Future[Traversable[Boolean]]

  6. abstract def find(selector: Structure, sort: Structure, page: Int, pageSize: Int): Future[List[Model]]

    page

    1 based

  7. abstract def findAll(selector: Structure, sort: Structure): Future[List[Model]]

  8. abstract def findById(id: ID): Future[Option[Model]]

  9. abstract def findByIds(ids: Traversable[ID]): Future[List[Model]]

  10. abstract def findOne(selector: Structure): Future[Option[Model]]

  11. abstract def findRandom(selector: Structure): Future[Option[Model]]

  12. abstract def fold[A](selector: Structure, sort: Structure, state: A)(f: (A, Model) ⇒ A): Future[A]

    Iteratee.

    Iteratee.fold

  13. abstract def foreach(selector: Structure, sort: Structure)(f: (Model) ⇒ Unit): Future[Unit]

    Iteratee.

    Iteratee.foreach

  14. abstract def insert(model: Model, writeConcern: GetLastError): Future[LastError]

  15. abstract def listIndexes(): Future[List[Index]]

  16. abstract def remove(query: Structure, writeConcern: GetLastError, firstMatchOnly: Boolean): Future[LastError]

  17. abstract def removeAll(writeConcern: GetLastError): Future[LastError]

  18. abstract def removeById(id: ID, writeConcern: GetLastError): Future[LastError]

  19. abstract def save(model: Model, writeConcern: GetLastError): Future[LastError]

  20. abstract def update[U](selector: Structure, update: U, writeConcern: GetLastError, upsert: Boolean, multi: Boolean)(implicit arg0: Writer[U]): Future[LastError]

  21. abstract def updateById[U](id: ID, update: U, writeConcern: GetLastError)(implicit arg0: Writer[U]): Future[LastError]

Concrete Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def autoIndexes: Traversable[Index]

  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def collection: C

  10. def defaultWriteConcern: GetLastError

  11. implicit def ec: ExecutionContext

  12. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

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

    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  22. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped