Class

org.ada.server.dataaccess.dataset

ClassificationResultMongoAsyncCrudRepo

Related Doc: package dataset

Permalink

class ClassificationResultMongoAsyncCrudRepo extends DictionarySubordinateMongoAsyncCrudRepo[ClassificationResult, BSONObjectID]

Linear Supertypes
DictionarySubordinateMongoAsyncCrudRepo[ClassificationResult, BSONObjectID], SubordinateObjectMongoAsyncCrudRepo[ClassificationResult, BSONObjectID, Dictionary, BSONObjectID], AsyncCrudRepo[ClassificationResult, BSONObjectID], AsyncRepo[ClassificationResult, BSONObjectID], AsyncReadonlyRepo[ClassificationResult, BSONObjectID], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ClassificationResultMongoAsyncCrudRepo
  2. DictionarySubordinateMongoAsyncCrudRepo
  3. SubordinateObjectMongoAsyncCrudRepo
  4. AsyncCrudRepo
  5. AsyncRepo
  6. AsyncReadonlyRepo
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ClassificationResultMongoAsyncCrudRepo(dataSetId: String, dictionaryRepo: DictionaryRootRepo)

    Permalink
    Annotations
    @Inject()

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. def count(criteria: Seq[Criterion[Any]]): Future[Int]

    Permalink

    Counts all items in repo matching criteria.

    Counts all items in repo matching criteria.

    criteria

    Filtering criteria object. Use a JsObject to filter according to value of reference column. Use None for no filtering.

    returns

    Number of matching elements.

    Definition Classes
    SubordinateObjectMongoAsyncCrudRepo → AsyncReadonlyRepo
  7. def delete(ids: Traversable[BSONObjectID]): Future[Unit]

    Permalink
    Definition Classes
    SubordinateObjectMongoAsyncCrudRepo → AsyncCrudRepo
  8. def delete(id: BSONObjectID): Future[Unit]

    Permalink

    Delete single entry identified by its id (name).

    Delete single entry identified by its id (name).

    id

    Id of the subordinate to be deleted.

    returns

    Nothing (Unit)

    Definition Classes
    SubordinateObjectMongoAsyncCrudRepo → AsyncCrudRepo
  9. def deleteAll: Future[Unit]

    Permalink

    Deletes all subordinates in the dictionary.

    Deletes all subordinates in the dictionary.

    returns

    Nothing (Unit)

    Definition Classes
    SubordinateObjectMongoAsyncCrudRepo → AsyncCrudRepo
    See also

    update()

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  12. def exists(id: BSONObjectID): Future[Boolean]

    Permalink
    Definition Classes
    SubordinateObjectMongoAsyncCrudRepo → AsyncReadonlyRepo
  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. 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[ClassificationResult]]

    Permalink

    Find object matching the filtering criteria.

    Find object matching the filtering criteria. subordinateListNames may be ordered and only a subset of them used. Pagination options for page limit and page number are available to limit number of returned results.

    criteria

    Filtering criteria object. Use a String to filter according to value of reference column. Use None for no filtering.

    sort

    Column used as reference for sorting. Leave at None to use default.

    projection

    Defines which columns are supposed to be returned. Leave at None to use default.

    limit

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

    skip

    The number of items to skip.

    returns

    Traversable subordinateListNames for iteration.

    Definition Classes
    SubordinateObjectMongoAsyncCrudRepo → AsyncReadonlyRepo
  15. def findAsStream(criteria: Seq[Criterion[Any]], sort: Seq[Sort], projection: Traversable[String], limit: Option[Int], skip: Option[Int])(implicit materializer: Materializer): Future[Source[ClassificationResult, _]]

    Permalink
    Definition Classes
    AsyncReadonlyRepo
  16. def flushOps: Future[Unit]

    Permalink
    Definition Classes
    SubordinateObjectMongoAsyncCrudRepo → AsyncRepo
  17. def get(id: BSONObjectID): Future[Option[ClassificationResult]]

    Permalink

    Retrieve subordinate(s) from the repo.

    Retrieve subordinate(s) from the repo.

    id

    Name of object.

    returns

    subordinateListNames in the dictionary with exact name match.

    Definition Classes
    SubordinateObjectMongoAsyncCrudRepo → AsyncReadonlyRepo
  18. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  19. def getDefaultRoot: Dictionary

    Permalink
  20. def getRootObject: Future[Option[Dictionary]]

    Permalink
  21. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  22. def initIfNeeded: Future[Unit]

    Permalink

    Initialize if the root object does not exist.

    Initialize if the root object does not exist.

    Definition Classes
    SubordinateObjectMongoAsyncCrudRepo
  23. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  24. val logger: Logger.type

    Permalink
    Attributes
    protected
    Definition Classes
    SubordinateObjectMongoAsyncCrudRepo
  25. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  28. var rootId: Option[Future[BSONObjectID]]

    Permalink
    Attributes
    protected
    Definition Classes
    SubordinateObjectMongoAsyncCrudRepo
  29. def rootIdCriteria: Future[Seq[EqualsCriterion[BSONObjectID]]]

    Permalink
    Attributes
    protected
    Definition Classes
    SubordinateObjectMongoAsyncCrudRepo
  30. def rootIdSelector: Future[JsObject]

    Permalink
    Attributes
    protected
    Definition Classes
    SubordinateObjectMongoAsyncCrudRepo
  31. def save(entity: ClassificationResult): Future[BSONObjectID]

    Permalink

    Converts the given subordinateListName into Json format and calls updateCustom() to update/ save it in the repo.

    Converts the given subordinateListName into Json format and calls updateCustom() to update/ save it in the repo.

    entity

    to be updated/ saved

    returns

    subordinateListName name as a confirmation of success.

    Definition Classes
    ClassificationResultMongoAsyncCrudRepoSubordinateObjectMongoAsyncCrudRepo → AsyncRepo
    See also

    updateCustom()

  32. def save(entities: Traversable[ClassificationResult]): Future[Traversable[BSONObjectID]]

    Permalink
    Definition Classes
    SubordinateObjectMongoAsyncCrudRepo → AsyncRepo
  33. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  35. def update(entity: ClassificationResult): Future[BSONObjectID]

    Permalink

    Update a single subordinate in repo.

    Update a single subordinate in repo. The properties of the passed subordinate replace the properties of the subordinate in the repo.

    entity

    Subordinate to be updated. entity.name must match an existing ID.

    returns

    Id as a confirmation of success.

    Definition Classes
    SubordinateObjectMongoAsyncCrudRepo → AsyncCrudRepo
  36. def update(entities: Traversable[ClassificationResult]): Future[Traversable[BSONObjectID]]

    Permalink
    Definition Classes
    AsyncCrudRepo
  37. final def wait(): Unit

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

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

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

Inherited from DictionarySubordinateMongoAsyncCrudRepo[ClassificationResult, BSONObjectID]

Inherited from SubordinateObjectMongoAsyncCrudRepo[ClassificationResult, BSONObjectID, Dictionary, BSONObjectID]

Inherited from AsyncCrudRepo[ClassificationResult, BSONObjectID]

Inherited from AsyncRepo[ClassificationResult, BSONObjectID]

Inherited from AsyncReadonlyRepo[ClassificationResult, BSONObjectID]

Inherited from AnyRef

Inherited from Any

Ungrouped