edu.umass.cs.automan.adapters.mturk.logging

MTMemo

class MTMemo extends Memo

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

Instance Constructors

  1. new MTMemo(log_config: core.logging.LogConfig.Value, database_path: String)

Type Members

  1. type DBCheckboxAnswer = (Int, Set[Symbol], String)

    Definition Classes
    Memo
  2. type DBFreeTextAnswer = (Int, String, String)

    Definition Classes
    Memo
  3. type DBHITType = (String, String, Int)

  4. type DBQualificationRequirement = (String, String)

  5. type DBQuestion = (UUID, String, QuestionType, String, String)

    Definition Classes
    Memo
  6. type DBRadioButtonAnswer = (Int, Symbol, String)

    Definition Classes
    Memo
  7. type DBSession = SessionDef

    Definition Classes
    Memo
  8. type DBTask = (UUID, UUID, BigDecimal, Date, Int, Int)

    Definition Classes
    Memo
  9. type DBTaskHistory = (UUID, Date, SchedulerState)

    Definition Classes
    Memo

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. val _jdbc_conn_string: String

    Attributes
    protected[edu.umass.cs.automan]
    Definition Classes
    Memo
  7. var _plugins: List[Plugin]

    Attributes
    protected
    Definition Classes
    Memo
  8. def allTasksQuery(): Query[(core.logging.tables.DBQuestion, (core.logging.tables.DBTask, core.logging.tables.DBTaskHistory)), ((UUID, String, QuestionType, String, String), ((UUID, UUID, Int, BigDecimal, Date, Int, Int), (Int, UUID, Date, SchedulerState))), Seq]

    Attributes
    protected[edu.umass.cs.automan]
    Definition Classes
    Memo
  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def assignmentFromDBAssnRow(row: (String, String, String, AssignmentStatus, Option[Calendar], Option[Calendar], Option[Calendar], Option[Calendar], Option[Calendar], Option[Calendar], String, Option[String], UUID)): Assignment

  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def database_exists(): Boolean

    Attributes
    protected
    Definition Classes
    Memo
  13. val dbCheckboxAnswer: TableQuery[core.logging.tables.DBCheckboxAnswer]

    Attributes
    protected[edu.umass.cs.automan]
    Definition Classes
    Memo
  14. val dbFreeTextAnswer: TableQuery[core.logging.tables.DBFreeTextAnswer]

    Attributes
    protected[edu.umass.cs.automan]
    Definition Classes
    Memo
  15. val dbQuestion: TableQuery[core.logging.tables.DBQuestion]

    Attributes
    protected[edu.umass.cs.automan]
    Definition Classes
    Memo
  16. val dbRadioButtonAnswer: TableQuery[core.logging.tables.DBRadioButtonAnswer]

    Attributes
    protected[edu.umass.cs.automan]
    Definition Classes
    Memo
  17. val dbTask: TableQuery[core.logging.tables.DBTask]

    Attributes
    protected[edu.umass.cs.automan]
    Definition Classes
    Memo
  18. val dbTaskHistory: TableQuery[core.logging.tables.DBTaskHistory]

    Attributes
    protected[edu.umass.cs.automan]
    Definition Classes
    Memo
  19. var db_opt: Option[DatabaseDef]

    Definition Classes
    Memo
  20. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  23. def getAllTasksMap(implicit session: DBSession): Map[UUID, core.scheduler.SchedulerState.Value]

    Attributes
    protected[edu.umass.cs.automan]
    Definition Classes
    Memo
  24. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
  26. def init(): Unit

    Initialization routines.

    Initialization routines.

    Attributes
    protected[edu.umass.cs.automan]
    Definition Classes
    MTMemoMemo
  27. def init_database_if_required(ddls: List[scala.slick.driver.H2Driver.SchemaDescription]): Unit

    Run table definitions if this is the first time the database is run.

    Run table definitions if this is the first time the database is run. Overring subclasses should provide their DDLs as a list to this method instead of overriding it.

    ddls

    Slick Table definitions.

    Attributes
    protected
    Definition Classes
    Memo
  28. def insertAnswerTable(ts: List[Task], histories: Seq[(UUID, Int)])(implicit session: DBSession): Option[Int]

    Attributes
    protected[edu.umass.cs.automan]
    Definition Classes
    Memo
  29. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  30. implicit val javaUtilDateMapper: scala.slick.driver.H2Driver.BaseColumnType[Date]

    Definition Classes
    Memo
  31. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  32. def needsUpdate[A](ts: List[Task], tsstates: Map[UUID, core.scheduler.SchedulerState.Value]): List[InsertUpdateOrSkip[Task]]

    Attributes
    protected[edu.umass.cs.automan]
    Definition Classes
    Memo
  33. final def notify(): Unit

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

    Definition Classes
    AnyRef
  35. val path: String

    Definition Classes
    Memo
  36. def questionInDB(memo_hash: String)(implicit db: DBSession): Boolean

    Attributes
    protected[edu.umass.cs.automan]
    Definition Classes
    Memo
  37. implicit val questionTypeMapper: scala.slick.driver.H2Driver.BaseColumnType[QuestionType]

    Definition Classes
    Memo
  38. def register_plugins(plugins: List[Plugin]): Unit

    Register plugins so that they can be notified on DB state changes.

    Register plugins so that they can be notified on DB state changes.

    plugins

    A list of initialized plugins.

    Attributes
    protected[edu.umass.cs.automan]
    Definition Classes
    Memo
  39. def restore(q: Question): List[Task]

    Restore all tasks from the database given a question's memo_hash.

    Restore all tasks from the database given a question's memo_hash.

    q

    An AutoMan question.

    returns

    A list of tasks.

    Definition Classes
    Memo
  40. def restore_mt_state(backend: RequesterService): Option[MTState]

  41. def save(q: Question, inserts: List[Task], updates: List[Task]): Unit

    Updates the database given a complete list of tasks.

    Updates the database given a complete list of tasks.

    inserts

    A list of tasks to insert.

    updates

    A list of tasks to update.

    Definition Classes
    Memo
  42. def save_mt_state(state: MTState): Unit

  43. def snapshot(): List[TaskSnapshot[_]]

    Definition Classes
    Memo
  44. def snapshotUpdates(): List[TaskSnapshot[_]]

    Definition Classes
    Memo
  45. implicit val symbolSetStringMapper: scala.slick.driver.H2Driver.BaseColumnType[Set[Symbol]]

    Definition Classes
    Memo
  46. implicit val symbolStringMapper: scala.slick.driver.H2Driver.BaseColumnType[Symbol]

    Definition Classes
    Memo
  47. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  48. def task2TaskAnswerTuple(ts: List[Task], histories: Seq[(UUID, Int)]): List[(Int, A, String)]

    Attributes
    protected[edu.umass.cs.automan]
    Definition Classes
    Memo
  49. def task2TaskHistoryTuple(ts: List[Task]): List[(Int, UUID, Date, SchedulerState)]

    Attributes
    protected[edu.umass.cs.automan]
    Definition Classes
    Memo
  50. def task2TaskTuple(ts: List[Task]): List[(UUID, UUID, Int, BigDecimal, Date, Int, Int)]

    Attributes
    protected[edu.umass.cs.automan]
    Definition Classes
    Memo
  51. def toString(): String

    Definition Classes
    AnyRef → Any
  52. def updateHITs(hit_states: Map[HITID, HITState], hit_ids: Map[((String, BigDecimal, Int), String), HITID])(implicit session: DBSession): Unit

  53. def updateWhitelist(ww: Map[(WorkerID, GroupID), HITTypeID])(implicit session: DBSession): Unit

  54. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  57. def wipeDatabase(): Unit

    This call deletes all records stored in all of the Memo database's tables.

    This call deletes all records stored in all of the Memo database's tables.

    Definition Classes
    Memo

Inherited from Memo

Inherited from AnyRef

Inherited from Any

Ungrouped