Packages

c

slick.jdbc.H2Profile

H2ModelBuilder

class H2ModelBuilder extends JdbcModelBuilder

Source
H2Profile.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Grouped
  2. Alphabetic
  3. By Inheritance
Inherited
  1. H2ModelBuilder
  2. JdbcModelBuilder
  3. Logging
  4. AnyRef
  5. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Basic customization overrides

  1. class ColumnBuilder extends AnyRef

    Column model builder.

    Column model builder.

    Definition Classes
    JdbcModelBuilder
  2. class TableBuilder extends AnyRef

    Table model builder

    Table model builder

    Definition Classes
    JdbcModelBuilder
  1. def createColumnBuilder(tableBuilder: TableBuilder, meta: MColumn): ColumnBuilder

    Column model builder factory.

    Column model builder factory. Override for customization.

    Definition Classes
    H2ModelBuilderJdbcModelBuilder
  2. def createTableBuilder(namer: TableNamer): DBIO[TableBuilder]

    Table model builder factory.

    Table model builder factory. Override for customization.

    Definition Classes
    JdbcModelBuilder

Ungrouped

  1. class H2ColumnBuilder extends ColumnBuilder
  2. class H2TableNamer extends TableNamer
  3. class Builders extends AnyRef
    Definition Classes
    JdbcModelBuilder
  4. class ForeignKeyBuilder extends AnyRef
    Definition Classes
    JdbcModelBuilder
  5. class IndexBuilder extends AnyRef
    Definition Classes
    JdbcModelBuilder
  6. class PrimaryKeyBuilder extends AnyRef
    Definition Classes
    JdbcModelBuilder
  7. class TableNamer extends AnyRef
    Definition Classes
    JdbcModelBuilder
  1. def buildModel: DBIO[Model]

    Creates a Slick data model from jdbc meta data.

    Creates a Slick data model from jdbc meta data. Foreign keys pointing out of the given tables are not included.

    Definition Classes
    JdbcModelBuilder
  2. def createBuilders(tablesByQName: Map[MQName, TableBuilder]): Builders
    Definition Classes
    JdbcModelBuilder
  3. def createForeignKeyBuilder(tableBuilder: TableBuilder, meta: Seq[MForeignKey]): ForeignKeyBuilder
    Definition Classes
    JdbcModelBuilder
  4. def createIndexBuilder(tableBuilder: TableBuilder, meta: Seq[MIndexInfo]): IndexBuilder
    Definition Classes
    JdbcModelBuilder
  5. def createPrimaryKeyBuilder(tableBuilder: TableBuilder, meta: Seq[MPrimaryKey]): PrimaryKeyBuilder
    Definition Classes
    JdbcModelBuilder
  6. def createTableNamer(mTable: MTable): TableNamer
    Definition Classes
    H2ModelBuilderJdbcModelBuilder
  7. def jdbcTypeToScala(jdbcType: Int, typeName: String = ""): ClassTag[_]

    Converts from java.sql.Types w/ type name to the corresponding Java class name (with fully qualified path).

    Converts from java.sql.Types w/ type name to the corresponding Java class name (with fully qualified path).

    Definition Classes
    JdbcModelBuilder
  8. def readColumns(t: MTable): DBIO[Vector[MColumn]]

    Read the column metadata for a table in ordinal position order

    Read the column metadata for a table in ordinal position order

    Definition Classes
    JdbcModelBuilder
  9. def readForeignKeys(t: MTable): DBIO[Seq[Seq[MForeignKey]]]

    Read the foreign key metadata for a table grouped by name and in key sequence order

    Read the foreign key metadata for a table grouped by name and in key sequence order

    Definition Classes
    JdbcModelBuilder
  10. def readIndices(t: MTable): DBIO[Seq[Seq[MIndexInfo]]]

    Read the index metadata grouped by name and in ordinal position order

    Read the index metadata grouped by name and in ordinal position order

    Definition Classes
    JdbcModelBuilder
  11. def readPrimaryKeys(t: MTable): DBIO[Vector[MPrimaryKey]]

    Read the primary key metadata for a table in key sequence order

    Read the primary key metadata for a table in key sequence order

    Definition Classes
    JdbcModelBuilder
  12. lazy val tableNamers: Seq[TableNamer]
    Definition Classes
    JdbcModelBuilder
  13. lazy val tableNamersByQName: Map[MQName, TableNamer]
    Definition Classes
    JdbcModelBuilder