Class

org.scalarelational.h2

H2Datastore

Related Doc: package h2

Permalink

abstract class H2Datastore extends SQLDatastore

Linear Supertypes
SQLDatastore, BasicDDLSupport, Datastore, BasicFunctionTypes, DDLDSLSupport, DataTypeSupport, DDLSupport, SQLContainer, DSLSupport, SessionSupport, Logging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. H2Datastore
  2. SQLDatastore
  3. BasicDDLSupport
  4. Datastore
  5. BasicFunctionTypes
  6. DDLDSLSupport
  7. DataTypeSupport
  8. DDLSupport
  9. SQLContainer
  10. DSLSupport
  11. SessionSupport
  12. Logging
  13. AnyRef
  14. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new H2Datastore(dataSource: DataSource)

    Permalink
    Attributes
    protected
  2. new H2Datastore(mode: H2ConnectionMode = H2Memory(StringUtil.randomString()), username: String = "sa", password: String = "sa")

    Permalink
    Attributes
    protected

Type Members

  1. implicit class CallableInstructions extends AnyRef

    Permalink
    Definition Classes
    Datastore

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. val Avg: DerivedFunctionType

    Permalink
    Definition Classes
    BasicFunctionTypes
  5. val BoolAnd: SpecificFunctionType[Boolean, Boolean]

    Permalink
    Definition Classes
    BasicFunctionTypes
  6. val BoolOr: SpecificFunctionType[Boolean, Boolean]

    Permalink
    Definition Classes
    BasicFunctionTypes
  7. val Count: SpecificFunctionType[Long, Long]

    Permalink
    Definition Classes
    BasicFunctionTypes
  8. def DefaultBinaryLength: Int

    Permalink
    Definition Classes
    Datastore
  9. def DefaultVarCharLength: Int

    Permalink
    Definition Classes
    Datastore
  10. val GroupConcat: SpecificFunctionType[String, String]

    Permalink
    Definition Classes
    BasicFunctionTypes
  11. val Max: DerivedFunctionType

    Permalink
    Definition Classes
    BasicFunctionTypes
  12. val Min: DerivedFunctionType

    Permalink
    Definition Classes
    BasicFunctionTypes
  13. val Sum: DerivedFunctionType

    Permalink
    Definition Classes
    BasicFunctionTypes
  14. val _session: ThreadLocal[Option[Session]] { def initialValue(): None.type }

    Permalink
    Attributes
    protected
    Definition Classes
    SessionSupport
  15. def add(table: Table): Unit

    Permalink
    Attributes
    protected[org.scalarelational]
    Definition Classes
    Datastore
  16. def afterInvoke(delete: Delete): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    SQLContainer
  17. def afterInvoke[T](update: Update[T]): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    SQLContainer
  18. def afterInvoke(merge: Merge): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    SQLContainer
  19. def afterInvoke(insert: InsertMultiple): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    SQLContainer
  20. def afterInvoke[T](insert: InsertSingle[T]): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    SQLContainer
  21. def afterInvoke[E, R](query: Query[E, R]): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    SQLContainer
  22. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  23. def async[Result](f: (Session) ⇒ Result): Future[Result]

    Permalink
    Definition Classes
    SessionSupport
  24. def beforeInvoke(delete: Delete): Delete

    Permalink
    Attributes
    protected
    Definition Classes
    SQLContainer
  25. def beforeInvoke[T](update: Update[T]): Update[T]

    Permalink
    Attributes
    protected
    Definition Classes
    SQLContainer
  26. def beforeInvoke(merge: Merge): Merge

    Permalink
    Attributes
    protected
    Definition Classes
    SQLContainer
  27. def beforeInvoke(insert: InsertMultiple): InsertMultiple

    Permalink
    Attributes
    protected
    Definition Classes
    SQLContainer
  28. def beforeInvoke[T](insert: InsertSingle[T]): InsertSingle[T]

    Permalink
    Attributes
    protected
    Definition Classes
    SQLContainer
  29. def beforeInvoke[E, R](query: Query[E, R]): Query[E, R]

    Permalink
    Attributes
    protected
    Definition Classes
    SQLContainer
  30. implicit def bigDecimalType: SimpleDataType[BigDecimal]

    Permalink
    Definition Classes
    DataTypeSupport
  31. implicit def blobType: SimpleDataType[Blob]

    Permalink
    Definition Classes
    DataTypeSupport
  32. implicit def booleanType: SimpleDataType[Boolean]

    Permalink
    Definition Classes
    DataTypeSupport
  33. implicit def byteArrayType: SimpleDataType[Array[Byte]]

    Permalink
    Definition Classes
    DataTypeSupport
  34. def calling(instructionType: InstructionType, sql: String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    SQLContainer
  35. def changeColumnType[T, S](tableName: String, columnName: String, properties: ColumnProperty*)(implicit dataType: DataType[T, S]): List[CallableInstruction]

    Permalink
    Definition Classes
    DDLDSLSupport
  36. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. def column2Create[T, S](column: Column[T, S]): CreateColumn[T, S]

    Permalink
    Definition Classes
    BasicDDLSupport → DDLSupport
  38. def columnPropertiesSQL(container: ColumnPropertyContainer): List[String]

    Permalink
    Attributes
    protected
    Definition Classes
    BasicDDLSupport
  39. def columnSQL(create: CreateColumn[_, _]): String

    Permalink
    Attributes
    protected
    Definition Classes
    BasicDDLSupport
  40. def columnSQLType(create: CreateColumn[_, _]): String

    Permalink
    Attributes
    protected
    Definition Classes
    BasicDDLSupport
  41. def commitTransaction(session: Session): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    SessionSupport
  42. def condition2String(condition: Condition, args: ListBuffer[TypedValue[_, _]]): String

    Permalink
    Definition Classes
    SQLDatastore
  43. def create(tables: Table*)(implicit session: Session): Int

    Permalink
    Definition Classes
    H2Datastore → Datastore
  44. def createColumn[T](tableName: String, columnName: String, columnProperty: ColumnProperty*)(implicit dataType: SimpleDataType[T]): List[CallableInstruction]

    Permalink
    Definition Classes
    DDLDSLSupport
  45. def createColumn[T, S](tableName: String, columnName: String, columnProperty: ColumnProperty*)(implicit dataType: DataType[T, S]): List[CallableInstruction]

    Permalink
    Definition Classes
    DDLDSLSupport
  46. def createColumn[T, S](column: Column[T, S]): List[CallableInstruction]

    Permalink
    Definition Classes
    DDLDSLSupport
  47. def createSession(): (Boolean, Session)

    Permalink
    Attributes
    protected
    Definition Classes
    SessionSupport
  48. def createTable(tableName: String): List[CallableInstruction]

    Permalink
    Definition Classes
    DDLDSLSupport
  49. def createTable(table: Table): List[CallableInstruction]

    Permalink
    Definition Classes
    DDLDSLSupport
  50. def createTransaction(session: Session): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    SessionSupport
  51. def creating(): Unit

    Permalink
    Definition Classes
    Datastore
  52. def dataSource: Option[DataSource]

    Permalink
    Definition Classes
    SQLDatastore → Datastore
  53. val dataSourceProperty: Opt[DataSource]

    Permalink
    Definition Classes
    SQLDatastore
  54. def dataTypeForInstance[T, S](dataTypeInstance: DataTypeInstance[T, S]): DataType[T, S]

    Permalink
    Definition Classes
    Datastore
  55. val dbPassword: Var[String]

    Permalink
  56. val dbUsername: Var[String]

    Permalink
  57. def ddl(drop: DropIndex): List[CallableInstruction]

    Permalink
    Definition Classes
    BasicDDLSupport → DDLSupport
  58. def ddl(drop: DropColumn): List[CallableInstruction]

    Permalink
    Definition Classes
    BasicDDLSupport → DDLSupport
  59. def ddl(drop: DropTable): List[CallableInstruction]

    Permalink
    Definition Classes
    BasicDDLSupport → DDLSupport
  60. def ddl(alter: RestartColumn): List[CallableInstruction]

    Permalink
    Definition Classes
    BasicDDLSupport → DDLSupport
  61. def ddl(alter: RenameColumn): List[CallableInstruction]

    Permalink
    Definition Classes
    BasicDDLSupport → DDLSupport
  62. def ddl(create: CreateIndex): List[CallableInstruction]

    Permalink
    Definition Classes
    BasicDDLSupport → DDLSupport
  63. def ddl[T, S](alter: ChangeColumnType[T, S]): List[CallableInstruction]

    Permalink
    Definition Classes
    BasicDDLSupport → DDLSupport
  64. def ddl(alter: CreateForeignKey): List[CallableInstruction]

    Permalink
    Definition Classes
    BasicDDLSupport → DDLSupport
  65. def ddl[T, S](create: CreateColumn[T, S]): List[CallableInstruction]

    Permalink
    Definition Classes
    BasicDDLSupport → DDLSupport
  66. def ddl(create: CreateTable): List[CallableInstruction]

    Permalink
    Definition Classes
    BasicDDLSupport → DDLSupport
  67. def ddl(tables: List[Table], ifNotExists: Boolean): List[CallableInstruction]

    Permalink
    Definition Classes
    BasicDDLSupport → DDLSupport
  68. def delete(table: Table): Delete

    Permalink
    Definition Classes
    DSLSupport
  69. def describe[E, R](query: Query[E, R]): (String, List[TypedValue[_, _]])

    Permalink
    Definition Classes
    SQLDatastore → Datastore
  70. def dispose(): Unit

    Permalink
    Definition Classes
    SQLDatastore → Datastore
  71. def disposeDataSource(dataSource: DataSource): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    H2Datastore → Datastore
  72. def disposeSession(session: Session): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    SessionSupport
  73. implicit def doubleType: SimpleDataType[Double]

    Permalink
    Definition Classes
    DataTypeSupport
  74. def dropColumn(tableName: String, columnName: String): List[CallableInstruction]

    Permalink
    Definition Classes
    DDLDSLSupport
  75. def dropColumn(column: Column[_, _]): List[CallableInstruction]

    Permalink
    Definition Classes
    DDLDSLSupport
  76. def dropIndex(indexName: String): List[CallableInstruction]

    Permalink
    Definition Classes
    DDLDSLSupport
  77. def dropTable(tableName: String, cascade: Boolean): List[CallableInstruction]

    Permalink
    Definition Classes
    DDLDSLSupport
  78. def dropTable(table: Table, cascade: Boolean): List[CallableInstruction]

    Permalink
    Definition Classes
    DDLDSLSupport
  79. def empty()(implicit session: Session): Boolean

    Permalink
    Definition Classes
    Datastore
  80. implicit def enum[T <: EnumEntry](implicit enumeration: Enum[T], manifest: Manifest[T]): DataType[T, String]

    Permalink
    Definition Classes
    DataTypeSupport
  81. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  83. def executionContext: ExecutionContextExecutor

    Permalink
    Attributes
    protected
    Definition Classes
    SessionSupport
  84. def exportTable(table: Table, file: File, drop: Boolean)(implicit session: Session): Boolean

    Permalink
    Definition Classes
    SQLDatastore
  85. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  86. def function[F](obj: AnyRef, methodName: String, functionName: Option[String] = None): H2Function

    Permalink
  87. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  88. def hasSession: Boolean

    Permalink
    Definition Classes
    SessionSupport
  89. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  90. def importScript(file: File)(implicit session: Session): Boolean

    Permalink
    Definition Classes
    SQLDatastore
  91. def insert(values: ColumnValue[_, _]*): InsertSingle[Int]

    Permalink
    Definition Classes
    DSLSupport
  92. implicit def insert2Rows(inserts: Seq[Insert[_]]): Seq[Seq[ColumnValue[_, _]]]

    Permalink
    Definition Classes
    DSLSupport
  93. def insertBatch(rows: Seq[Seq[ColumnValue[_, _]]]): InsertMultiple

    Permalink
    Definition Classes
    DSLSupport
  94. def insertInto(table: Table, values: Any*): InsertSingle[Int]

    Permalink
    Definition Classes
    DSLSupport
  95. def instantiateSession(): Session

    Permalink
    Attributes
    protected
    Definition Classes
    SessionSupport
  96. implicit def intType: SimpleDataType[Int]

    Permalink
    Definition Classes
    DataTypeSupport
  97. def invoke(delete: Delete)(implicit session: Session): Int

    Permalink
    Attributes
    protected
    Definition Classes
    SQLDatastore → Datastore
  98. def invoke[T](update: Update[T])(implicit session: Session): Int

    Permalink
    Attributes
    protected
    Definition Classes
    SQLDatastore → Datastore
  99. def invoke(insert: InsertMultiple)(implicit session: Session): List[Int]

    Permalink
    Attributes
    protected
    Definition Classes
    SQLDatastore → Datastore
  100. def invoke(merge: Merge)(implicit session: Session): Int

    Permalink
    Attributes
    protected
    Definition Classes
    SQLDatastore → Datastore
  101. def invoke[T](insert: InsertSingle[T])(implicit session: Session): Int

    Permalink
    Attributes
    protected
    Definition Classes
    SQLDatastore → Datastore
  102. def invoke[E, R](query: Query[E, R])(implicit session: Session): ResultSet

    Permalink
    Attributes
    protected
    Definition Classes
    SQLDatastore → Datastore
  103. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  104. def jdbcColumns(tableName: String)(implicit session: Session): Set[String]

    Permalink
    Definition Classes
    Datastore
  105. def jdbcTables(implicit session: Session): Set[String]

    Permalink
    Definition Classes
    Datastore
  106. var logger: Logger

    Permalink
    Definition Classes
    Logging
  107. def loggerName: String

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  108. implicit def longTimestampType: DataType[Long, Timestamp]

    Permalink
    Definition Classes
    DataTypeSupport
  109. implicit def longType: SimpleDataType[Long]

    Permalink
    Definition Classes
    DataTypeSupport
  110. def merge(key: Column[_, _], values: ColumnValue[_, _]*): Merge

    Permalink
    Definition Classes
    DSLSupport
  111. val modeProperty: Opt[H2ConnectionMode]

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

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

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

    Permalink
    Definition Classes
    AnyRef
  115. implicit def option[T, S](implicit dataType: DataType[T, S]): DataType[Option[T], S]

    Permalink
    Definition Classes
    DataTypeSupport
  116. implicit def reference[T]: DataType[Ref[T], Int]

    Permalink
    Definition Classes
    DataTypeSupport
  117. def renameColumn(tableName: String, oldName: String, newName: String): List[CallableInstruction]

    Permalink
    Definition Classes
    DDLDSLSupport
  118. def restartColumn(tableName: String, columnName: String, value: Long): List[CallableInstruction]

    Permalink
    Definition Classes
    DDLDSLSupport
  119. def rollbackTransaction(session: Session): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    SessionSupport
  120. def select(expressions: List[SelectExpression[_]]): SelectQueryPart[Vector[SelectExpression[_]], QueryResult]

    Permalink
    Definition Classes
    DSLSupport
  121. def select[E1, E2, E3, E4, E5, E6, E7, E8, E9, E10](e1: SelectExpression[E1], e2: SelectExpression[E2], e3: SelectExpression[E3], e4: SelectExpression[E4], e5: SelectExpression[E5], e6: SelectExpression[E6], e7: SelectExpression[E7], e8: SelectExpression[E8], e9: SelectExpression[E9], e10: SelectExpression[E10]): SelectQueryPart[(E1, E2, E3, E4, E5, E6, E7, E8, E9, E10), (E1, E2, E3, E4, E5, E6, E7, E8, E9, E10)]

    Permalink
    Definition Classes
    DSLSupport
  122. def select[E1, E2, E3, E4, E5, E6, E7, E8, E9](e1: SelectExpression[E1], e2: SelectExpression[E2], e3: SelectExpression[E3], e4: SelectExpression[E4], e5: SelectExpression[E5], e6: SelectExpression[E6], e7: SelectExpression[E7], e8: SelectExpression[E8], e9: SelectExpression[E9]): SelectQueryPart[(E1, E2, E3, E4, E5, E6, E7, E8, E9), (E1, E2, E3, E4, E5, E6, E7, E8, E9)]

    Permalink
    Definition Classes
    DSLSupport
  123. def select[E1, E2, E3, E4, E5, E6, E7, E8](e1: SelectExpression[E1], e2: SelectExpression[E2], e3: SelectExpression[E3], e4: SelectExpression[E4], e5: SelectExpression[E5], e6: SelectExpression[E6], e7: SelectExpression[E7], e8: SelectExpression[E8]): SelectQueryPart[(E1, E2, E3, E4, E5, E6, E7, E8), (E1, E2, E3, E4, E5, E6, E7, E8)]

    Permalink
    Definition Classes
    DSLSupport
  124. def select[E1, E2, E3, E4, E5, E6, E7](e1: SelectExpression[E1], e2: SelectExpression[E2], e3: SelectExpression[E3], e4: SelectExpression[E4], e5: SelectExpression[E5], e6: SelectExpression[E6], e7: SelectExpression[E7]): SelectQueryPart[(E1, E2, E3, E4, E5, E6, E7), (E1, E2, E3, E4, E5, E6, E7)]

    Permalink
    Definition Classes
    DSLSupport
  125. def select[E1, E2, E3, E4, E5, E6](e1: SelectExpression[E1], e2: SelectExpression[E2], e3: SelectExpression[E3], e4: SelectExpression[E4], e5: SelectExpression[E5], e6: SelectExpression[E6]): SelectQueryPart[(E1, E2, E3, E4, E5, E6), (E1, E2, E3, E4, E5, E6)]

    Permalink
    Definition Classes
    DSLSupport
  126. def select[E1, E2, E3, E4, E5](e1: SelectExpression[E1], e2: SelectExpression[E2], e3: SelectExpression[E3], e4: SelectExpression[E4], e5: SelectExpression[E5]): SelectQueryPart[(E1, E2, E3, E4, E5), (E1, E2, E3, E4, E5)]

    Permalink
    Definition Classes
    DSLSupport
  127. def select[E1, E2, E3, E4](e1: SelectExpression[E1], e2: SelectExpression[E2], e3: SelectExpression[E3], e4: SelectExpression[E4]): SelectQueryPart[(E1, E2, E3, E4), (E1, E2, E3, E4)]

    Permalink
    Definition Classes
    DSLSupport
  128. def select[E1, E2, E3](e1: SelectExpression[E1], e2: SelectExpression[E2], e3: SelectExpression[E3]): SelectQueryPart[(E1, E2, E3), (E1, E2, E3)]

    Permalink
    Definition Classes
    DSLSupport
  129. def select[E1, E2](e1: SelectExpression[E1], e2: SelectExpression[E2]): SelectQueryPart[(E1, E2), (E1, E2)]

    Permalink
    Definition Classes
    DSLSupport
  130. def select[E](e1: SelectExpression[E]): SelectQueryPart[E, E]

    Permalink
    Definition Classes
    DSLSupport
  131. implicit def stringType: SimpleDataType[String]

    Permalink
    Definition Classes
    DataTypeSupport
  132. def supportsBatchInsertResponse: Boolean

    Permalink
    Definition Classes
    Datastore
  133. def supportsMerge: Boolean

    Permalink
    Definition Classes
    Datastore
  134. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  135. def table2Create(table: Table, ifNotExists: Boolean): CreateTable

    Permalink
    Definition Classes
    BasicDDLSupport → DDLSupport
  136. def tableByName(name: String): Option[Table]

    Permalink
    Definition Classes
    Datastore
  137. def tableExists(name: String)(implicit session: Session): Boolean

    Permalink
    Definition Classes
    Datastore
  138. implicit def thisDatastore: Datastore

    Permalink
    Definition Classes
    Datastore
  139. implicit def timestampType: SimpleDataType[Timestamp]

    Permalink
    Definition Classes
    DataTypeSupport
  140. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  141. def transaction[Result](f: (Session) ⇒ Result): Result

    Permalink
    Definition Classes
    SessionSupport
  142. val trigger: Channel[TriggerEvent]

    Permalink
  143. def update(values: ColumnValue[_, _]*): Update[Int]

    Permalink
    Definition Classes
    DSLSupport
  144. def updateLogger(f: (Logger) ⇒ Logger): Unit

    Permalink
    Definition Classes
    Logging
  145. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  148. def withSession[Result](f: (Session) ⇒ Result): Result

    Permalink
    Definition Classes
    SessionSupport

Inherited from SQLDatastore

Inherited from BasicDDLSupport

Inherited from Datastore

Inherited from BasicFunctionTypes

Inherited from DDLDSLSupport

Inherited from DataTypeSupport

Inherited from DDLSupport

Inherited from SQLContainer

Inherited from DSLSupport

Inherited from SessionSupport

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped