Class

spacro

FileSystemHITDataService

Related Doc: package spacro

Permalink

class FileSystemHITDataService extends HITDataService with StrictLogging

Implementation of HITDataService against the file system. Works for most purposes; would be better to have an implementation against a database for a really big project.

Linear Supertypes
StrictLogging, HITDataService, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FileSystemHITDataService
  2. StrictLogging
  3. HITDataService
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new FileSystemHITDataService(root: Path)

    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. 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 getAllHITInfo[Prompt, Response](hitTypeId: String)(implicit arg0: upickle.default.Reader[Prompt], arg1: upickle.default.Reader[Response]): Try[List[HITInfo[Prompt, Response]]]

    Permalink

    Get all saved HIT data for a given HIT Type.

    Get all saved HIT data for a given HIT Type.

    Definition Classes
    FileSystemHITDataServiceHITDataService
  10. def getAssignmentsForHIT[Response](hitTypeId: String, hitId: String)(implicit arg0: upickle.default.Reader[Response]): Try[List[Assignment[Response]]]

    Permalink

    Get all assignments for a given HIT.

    Get all assignments for a given HIT.

    Definition Classes
    FileSystemHITDataServiceHITDataService
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def getHIT[Prompt](hitTypeId: String, hitId: String)(implicit arg0: upickle.default.Reader[Prompt]): Try[HIT[Prompt]]

    Permalink

    Get a stored HIT by its HIT Type ID and HIT ID, which together uniquely identify it.

    Get a stored HIT by its HIT Type ID and HIT ID, which together uniquely identify it. (HIT ID may already be unique; I'm not sure.)

    Definition Classes
    FileSystemHITDataServiceHITDataService
  13. def getHITInfo[Prompt, Response](hitTypeId: String, hitId: String)(implicit arg0: upickle.default.Reader[Prompt], arg1: upickle.default.Reader[Response]): Try[HITInfo[Prompt, Response]]

    Permalink

    Get a saved HIT and all data relevant to that HIT.

    Get a saved HIT and all data relevant to that HIT.

    Definition Classes
    FileSystemHITDataServiceHITDataService
  14. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  16. val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    StrictLogging
  17. lazy val memo_loadHITUnsafe_$macro$4: Cache[List[Any]]

    Permalink
  18. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  21. def saveApprovedAssignment[Response](assignment: Assignment[Response])(implicit arg0: upickle.default.Writer[Response]): Try[Unit]

    Permalink

    Save the data of an assignment that has been approved on MTurk.

    Save the data of an assignment that has been approved on MTurk. Should happen directly after the assignment is approved.

    Definition Classes
    FileSystemHITDataServiceHITDataService
  22. def saveHIT[Prompt](hit: HIT[Prompt])(implicit arg0: upickle.default.Writer[Prompt]): Try[Unit]

    Permalink

    Save a HIT that has been uploaded to MTurk.

    Save a HIT that has been uploaded to MTurk. This should happen directly after successful HIT creation.

    Definition Classes
    FileSystemHITDataServiceHITDataService
  23. def saveRejectedAssignment[Response](assignment: Assignment[Response])(implicit arg0: upickle.default.Writer[Response]): Try[Unit]

    Permalink

    Save the data of an assignment that has been rejected on MTurk.

    Save the data of an assignment that has been rejected on MTurk. Should happen directly after the assignment is rejected.

    Definition Classes
    FileSystemHITDataServiceHITDataService
  24. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

Inherited from StrictLogging

Inherited from HITDataService

Inherited from AnyRef

Inherited from Any

Ungrouped