com.outr.query

Datastore

Related Docs: object Datastore | package query

trait Datastore extends Listenable with Logging

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

Abstract Value Members

  1. abstract def createExtras(b: StringBuilder): Unit

  2. abstract def createTableExtras(table: Table, b: StringBuilder): Unit

  3. abstract def createTableSQL(ifNotExist: Boolean, table: Table): String

  4. abstract def dataSource: DataSource

  5. abstract def exec(delete: Delete): Int

  6. abstract def exec(update: Update): Int

  7. abstract def exec(merge: Merge): Int

  8. abstract def exec(insert: Insert): Iterator[Int]

  9. abstract def exec(query: Query): QueryResultsIterator

  10. abstract def sqlFromQuery(query: Query): (String, List[Any])

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. def active[T](f: ⇒ T): T

  5. def add(table: Table): Any

    Attributes
    protected[com.outr.query]
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def cleanup(thread: Thread, session: DatastoreSession): Unit

    Attributes
    protected[com.outr.query]
  8. def clearSessions(): Unit

  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def create(ifNotExist: Boolean = true): Boolean

  11. def createSession(): DatastoreSession

    Attributes
    protected
  12. def creating(): Unit

    Called when the datastore is being created for the first time.

    Called when the datastore is being created for the first time. This does not mean the tables are being created but just the datastore.

  13. def ddl(ifNotExist: Boolean = true): String

  14. def debug(message: ⇒ Any): Unit

    Definition Classes
    Logging
  15. def delete(table: Table): Delete

  16. def dispose(): Unit

  17. def empty(): Boolean

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

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

    Definition Classes
    AnyRef → Any
  20. def error(message: ⇒ Any, t: Throwable): Unit

    Definition Classes
    Logging
  21. def error(message: ⇒ Any): Unit

    Definition Classes
    Logging
  22. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  23. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
  25. def info(message: ⇒ Any): Unit

    Definition Classes
    Logging
  26. def insert(values: ColumnValue[_]*): Option[Int]

  27. def insertInto(table: Table, values: Any*): Option[Int]

  28. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  29. def jdbcTables: Set[String]

  30. def listen[Event, Response, Result](name: String, priority: Priority, modes: ListenMode*)(f: (Event) ⇒ Response)(implicit eventManifest: Manifest[Event]): FunctionalListener[Event, Response]

    Definition Classes
    Listenable
  31. val listeners: Listeners

    Definition Classes
    Listenable
  32. def log(level: Level, message: ⇒ Any): Unit

    Definition Classes
    Logging
  33. def logger: Logger

    Definition Classes
    Logging
  34. def loggerName: String

    Attributes
    protected
    Definition Classes
    Logging
  35. def merge(key: Column[_], values: ColumnValue[_]*): Int

  36. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  37. final def notify(): Unit

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

    Definition Classes
    AnyRef
  39. def select(expressions: List[SelectExpression]): Query

  40. def select(expressions: SelectExpression*): Query

  41. def session: DatastoreSession

  42. def sessionTimeout: Double

  43. def sessions: Iterable[DatastoreSession]

  44. val sql2Value: OptionProcessor[(ColumnLike[_], Any), Any]

  45. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  46. def tableByName(tableName: String): Option[Table]

  47. def tables: Iterable[Table]

  48. implicit val thisListenable: Listenable

    Definition Classes
    Listenable
  49. def toString(): String

    Definition Classes
    AnyRef → Any
  50. def trace(message: ⇒ Any): Unit

    Definition Classes
    Logging
  51. def transaction[R](f: ⇒ R): R

    Creates a transaction for the contents of the supplied function.

    Creates a transaction for the contents of the supplied function. If an exception is thrown the contents will be rolled back to the savepoint created before the function was invoked. If no exception occurs the transaction will be committed (but only if it is not a nested transaction). Layering of transactions is supported and will defer commit until the last transaction is ended.

    R

    the return value from the function

    f

    the function to execute within the transaction

    returns

    R

  52. def update(delta: Double): Unit

    Attributes
    protected
  53. def update(values: ColumnValue[_]*): Update

  54. val updater: ScheduledFuture[_]

  55. val value2SQL: OptionProcessor[(ColumnLike[_], Any), Any]

  56. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  59. def warn(message: ⇒ Any, t: Throwable): Unit

    Definition Classes
    Logging
  60. def warn(message: ⇒ Any): Unit

    Definition Classes
    Logging

Inherited from Logging

Inherited from Listenable

Inherited from AnyRef

Inherited from Any

Ungrouped