p

database

package database

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. case class AttachEvent(infoItem: InfoItem) extends ChangeEvent with InfoItemEvent with Product with Serializable
  2. class ChangeEvent extends InfoItemEvent

    Value of the InfoItem is changed and the new has newer timestamp.

    Value of the InfoItem is changed and the new has newer timestamp. Event subs should be triggered. Not a case class because pattern matching didn't work as expected (this class is extended).

  3. trait DB extends AnyRef

    Database trait used by db classes.

    Database trait used by db classes. Contains a public high level read-write interface for the database tables.

  4. trait DBBase extends AnyRef

    Base trait for databases.

    Base trait for databases. Has basic protected interface.

  5. trait DBDeleteHandler extends DBHandlerBase
  6. class DBHandler extends DBReadHandler with DBWriteHandler with DBDeleteHandler
  7. trait DBHandlerBase extends Actor with ActorLogging
  8. class DBMaintainer extends SingleStoresMaintainer
  9. case class DBPath(id: Option[Long], path: Path, isInfoItem: Boolean) extends Product with Serializable
  10. trait DBReadHandler extends DBHandlerBase
  11. trait DBWriteHandler extends DBHandlerBase
  12. class DatabaseConnection extends OdfDatabase with DB

    Database class for sqlite.

    Database class for sqlite. Actually uses config parameters through forConfig. To be used during actual runtime.

  13. sealed trait EventSub extends SavedSub
  14. sealed trait InfoItemEvent extends AnyRef
  15. case class IntervalSub(id: Long, paths: Vector[Path], endTime: Timestamp, callback: DefinedCallback, interval: FiniteDuration, startTime: Timestamp) extends SavedSub with Product with Serializable
  16. case class NewEventSub(id: Long, paths: Vector[Path], endTime: Timestamp, callback: DefinedCallback) extends EventSub with Product with Serializable
  17. case class NormalEventSub(id: Long, paths: Vector[Path], endTime: Timestamp, callback: DefinedCallback) extends EventSub with Product with Serializable
  18. trait NotNewEventSub extends PolledSub
  19. trait OdfDatabase extends Tables with DB with TrimmableDB
  20. case class PollIntervalSub(id: Long, endTime: Timestamp, interval: Duration, lastPolled: Timestamp, startTime: Timestamp, paths: Vector[Path]) extends NotNewEventSub with Product with Serializable
  21. case class PollNewEventSub(id: Long, endTime: Timestamp, lastPolled: Timestamp, startTime: Timestamp, paths: Vector[Path]) extends PolledEventSub with Product with Serializable
  22. case class PollNormalEventSub(id: Long, endTime: Timestamp, lastPolled: Timestamp, startTime: Timestamp, paths: Vector[Path]) extends PolledEventSub with NotNewEventSub with Product with Serializable
  23. sealed trait PolledEventSub extends PolledSub
  24. sealed trait PolledSub extends SavedSub
  25. case class SameValueEvent(infoItem: InfoItem) extends InfoItemEvent with Product with Serializable

    Received new value with newer timestamp but value is the same as the previous

  26. sealed trait SavedSub extends AnyRef
  27. trait SingleStores extends AnyRef
  28. class SingleStoresMaintainer extends Actor with ActorLogging with RequiresMessageQueue[BoundedMessageQueueSemantics]
  29. class StubDB extends DB
  30. case class SubData(pathData: Map[Path, Seq[Value[Any]]]) extends Product with Serializable
  31. case class Subs(eventSubs: HashMap[Path, Vector[EventSub]], idToSub: HashMap[Long, PolledSub], pathToSubs: HashMap[Path, Set[Long]], intervalSubs: HashMap[Long, IntervalSub]) extends Product with Serializable

    from Path string to event subs for that path

  32. trait Tables extends DBBase
  33. class TestDB extends OdfDatabase with DB

    Database class to be used during tests instead of production db to prevent problems caused by overlapping test data.

    Database class to be used during tests instead of production db to prevent problems caused by overlapping test data. Uses h2 named in-memory db

  34. case class TimedValue(id: Option[Long], timestamp: Timestamp, value: String, valueType: String) extends Product with Serializable
  35. trait TrimmableDB extends AnyRef

Value Members

  1. object ChangeEvent
  2. object CustomJsonProtocol extends DefaultJsonProtocol
  3. object DBHandler
  4. object DBMaintainer
  5. object SingleStores
  6. object SingleStoresMaintainer
  7. object Subs extends Serializable

Ungrouped