Trait

org.incal.core.dataaccess

AsyncReadonlyRepo

Related Doc: package dataaccess

Permalink

trait AsyncReadonlyRepo[+E, ID] extends AnyRef

Generic asynchronous trait for a readonly repo.

Since

2018

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AsyncReadonlyRepo
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def count(criteria: Seq[Criterion[Any]] = Nil): Future[Int]

    Permalink

    Return the number of elements matching criteria.

    Return the number of elements matching criteria.

    criteria

    Filtering criteria (same as find). Use Nil for no filtering / return all.

    returns

    Number of matching elements.

  2. abstract def find(criteria: Seq[Criterion[Any]] = Nil, sort: Seq[Sort] = Nil, projection: Traversable[String] = Nil, limit: Option[Int] = None, skip: Option[Int] = None): Future[Traversable[E]]

    Permalink

    Finds all the elements matching criteria object.

    Finds all the elements matching criteria object.

    criteria

    Filtering criteria. Use Nil for no filtering / return all.

    sort

    Sequence of asc/desc columns used for sorting. Leave at Nil for no sorting.

    projection

    Defines which columns are supposed to be returned. Leave at Nil to return all.

    limit

    Page limit. Use to define chunk sizes. Leave at None to use default.

    skip

    The number of items to skip.

    returns

    Future of the found items.

  3. abstract def get(id: ID): Future[Option[E]]

    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. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. def findAsStream(criteria: Seq[Criterion[Any]] = Nil, sort: Seq[Sort] = Nil, projection: Traversable[String] = Nil, limit: Option[Int] = None, skip: Option[Int] = None): Future[Source[E, _]]

    Permalink
  10. final def getClass(): Class[_]

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

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

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

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

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

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

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

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped