c

database

DatabaseConnection

class DatabaseConnection extends OdfDatabase with DB

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

Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DatabaseConnection
  2. OdfDatabase
  3. TrimmableDB
  4. DB
  5. Tables
  6. DBBase
  7. AnyRef
  8. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DatabaseConnection()(system: ActorSystem, singleStores: SingleStores, settings: OmiConfigExtension)

Type Members

  1. type DBIOro[Result] = DBIOAction[Result, slick.jdbc.JdbcProfile.API.NoStream, Read]
    Definition Classes
    Tables
  2. type DBIOrw[Result] = DBIOAction[Result, slick.jdbc.JdbcProfile.API.NoStream, ReadWrite]
    Definition Classes
    Tables
  3. type DBIOsw[Result] = DBIOAction[Result, slick.jdbc.JdbcProfile.API.NoStream, Schema with Write]
    Definition Classes
    Tables
  4. type DBIOwo[Result] = DBIOAction[Result, slick.jdbc.JdbcProfile.API.NoStream, Write]
    Definition Classes
    Tables
  5. type DBSIOro[Result] = DBIOAction[Seq[Result], slick.jdbc.JdbcProfile.API.Streaming[Result], Read]
    Definition Classes
    Tables
  6. type ReadWrite = slick.jdbc.JdbcProfile.API.Effect with Write with Read with Transactional
    Definition Classes
    Tables
  7. class PathValues extends slick.jdbc.JdbcProfile.API.TableQuery[TimedValuesTable]
    Definition Classes
    Tables
  8. class PathsTable extends slick.jdbc.JdbcProfile.API.Table[DBPath]
    Definition Classes
    Tables
  9. class StoredPath extends slick.jdbc.JdbcProfile.API.TableQuery[PathsTable]
    Definition Classes
    Tables
  10. class TimedValuesTable extends slick.jdbc.JdbcProfile.API.Table[TimedValue]
    Definition Classes
    Tables

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from DatabaseConnection to any2stringadd[DatabaseConnection] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (DatabaseConnection, B)
    Implicit
    This member is added by an implicit conversion from DatabaseConnection to ArrowAssoc[DatabaseConnection] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clearDB(): Future[Int]

    Empties all the data from the database

    Empties all the data from the database

    Definition Classes
    OdfDatabase
  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  9. val db: Database
    Definition Classes
    DatabaseConnectionDBBase
  10. val dbmaintainer: ActorRef
  11. val dc: DatabaseConfig[JdbcProfile]
    Definition Classes
    DatabaseConnectionDBBase
  12. def destroy(): Unit
  13. def dropDB(): Future[Unit]
    Definition Classes
    OdfDatabase
  14. def ensuring(cond: (DatabaseConnection) ⇒ Boolean, msg: ⇒ Any): DatabaseConnection
    Implicit
    This member is added by an implicit conversion from DatabaseConnection to Ensuring[DatabaseConnection] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: (DatabaseConnection) ⇒ Boolean): DatabaseConnection
    Implicit
    This member is added by an implicit conversion from DatabaseConnection to Ensuring[DatabaseConnection] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: Boolean, msg: ⇒ Any): DatabaseConnection
    Implicit
    This member is added by an implicit conversion from DatabaseConnection to Ensuring[DatabaseConnection] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: Boolean): DatabaseConnection
    Implicit
    This member is added by an implicit conversion from DatabaseConnection to Ensuring[DatabaseConnection] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  20. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from DatabaseConnection to StringFormat[DatabaseConnection] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  22. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  23. def getNBetween(nodes: Iterable[Node], beginO: Option[Timestamp], endO: Option[Timestamp], newestO: Option[Int], oldestO: Option[Int])(implicit timeout: Timeout): Future[Option[ODF]]

    Used to get result values with given constrains in parallel if possible.

    Used to get result values with given constrains in parallel if possible. first the two optional timestamps, if both are given search is targeted between these two times. If only start is given,all values from start time onwards are targeted. Similarly if only end is given, values before end time are targeted. Then the two Int values. Only one of these can be present. fromStart is used to select fromStart number of values from the beginning of the targeted area. Similarly from ends selects fromEnd number of values from the end. All parameters except the first are optional, given only the first returns all requested data

    returns

    Combined results in a O-DF tree

    Definition Classes
    OdfDatabaseDB
  24. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  25. def initialize(): Unit
    Definition Classes
    OdfDatabaseDB
  26. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  27. val log: Logger
    Attributes
    protected
    Definition Classes
    OdfDatabase
  28. def logAllTables(): Unit
    Definition Classes
    OdfDatabase
  29. def logPathsTables(): Unit
    Definition Classes
    OdfDatabase
  30. def logValueTables(): Unit
    Definition Classes
    OdfDatabase
  31. def namesOfCurrentTables: DBIOro[Vector[String]]
    Definition Classes
    Tables
  32. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  33. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  34. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  35. implicit lazy val pathColumnType: BaseColumnType[Path]
    Definition Classes
    Tables
  36. val pathToDBPath: TMap[Path, DBPath]
    Definition Classes
    OdfDatabase
  37. val pathsTable: StoredPath
    Definition Classes
    Tables
  38. def readLatestFromCache(leafPaths: Seq[Path]): Future[Option[ImmutableODF]]
    Definition Classes
    OdfDatabase
  39. def remove(path: Path)(implicit timeout: Timeout): Future[Seq[Int]]

    Used to remove given path and all its descendants from the database.

    Used to remove given path and all its descendants from the database.

    path

    Parent path to be removed.

    Definition Classes
    OdfDatabaseDB
  40. val settings: OmiConfigExtension
    Attributes
    protected
    Definition Classes
    DatabaseConnectionOdfDatabase
  41. val singleStores: SingleStores
    Attributes
    protected
    Definition Classes
    DatabaseConnectionOdfDatabase
  42. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  43. val system: ActorSystem
    Attributes
    protected
  44. def tableByNameExists(name: String): DBIOro[Boolean]
    Definition Classes
    Tables
  45. def toString(): String
    Definition Classes
    AnyRef → Any
  46. def trimDB(): Future[Seq[Int]]
    Definition Classes
    OdfDatabaseTrimmableDB
  47. val valueTables: Map[Path, PathValues]
    Definition Classes
    Tables
  48. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  49. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  50. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  51. def writeMany(data: Seq[InfoItem]): Future[OmiReturn]

    Used to set many values efficiently to the database.

    Used to set many values efficiently to the database.

    data

    list item to be added consisting of Path and OdfValue[Any] tuples.

    Definition Classes
    OdfDatabaseDB
  52. def writeMany(odf: ImmutableODF): Future[OmiReturn]
    Definition Classes
    OdfDatabaseDB
  53. def writeWithDBIOs(odf: ODF): Future[OmiReturn]
    Definition Classes
    OdfDatabase
  54. def [B](y: B): (DatabaseConnection, B)
    Implicit
    This member is added by an implicit conversion from DatabaseConnection to ArrowAssoc[DatabaseConnection] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from OdfDatabase

Inherited from TrimmableDB

Inherited from DB

Inherited from Tables

Inherited from DBBase

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from DatabaseConnection to any2stringadd[DatabaseConnection]

Inherited by implicit conversion StringFormat from DatabaseConnection to StringFormat[DatabaseConnection]

Inherited by implicit conversion Ensuring from DatabaseConnection to Ensuring[DatabaseConnection]

Inherited by implicit conversion ArrowAssoc from DatabaseConnection to ArrowAssoc[DatabaseConnection]

Ungrouped