class ModelBuilder extends JdbcModelBuilder
- Grouped
- Alphabetic
- By Inheritance
- ModelBuilder
- JdbcModelBuilder
- Logging
- AnyRef
- Any
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
Type Members
- class DerbyTableNamer extends TableNamer
- class Builders extends AnyRef
- Definition Classes
- JdbcModelBuilder
- class ColumnBuilder extends AnyRef
Column model builder.
Column model builder.
- Definition Classes
- JdbcModelBuilder
- class ForeignKeyBuilder extends AnyRef
- Definition Classes
- JdbcModelBuilder
- class IndexBuilder extends AnyRef
- Definition Classes
- JdbcModelBuilder
- class PrimaryKeyBuilder extends AnyRef
- Definition Classes
- JdbcModelBuilder
- class TableBuilder extends AnyRef
Table model builder
Table model builder
- Definition Classes
- JdbcModelBuilder
- class TableNamer extends AnyRef
- Definition Classes
- JdbcModelBuilder
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def ->[B](y: B): (ModelBuilder, B)
- Implicit
- This member is added by an implicit conversion from ModelBuilder toArrowAssoc[ModelBuilder] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- 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
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def createBuilders(tablesByQName: Map[MQName, TableBuilder]): Builders
- Definition Classes
- JdbcModelBuilder
- def createColumnBuilder(tableBuilder: TableBuilder, meta: MColumn): ColumnBuilder
Column model builder factory.
Column model builder factory. Override for customization.
- Definition Classes
- JdbcModelBuilder
- def createForeignKeyBuilder(tableBuilder: TableBuilder, meta: Seq[MForeignKey]): ForeignKeyBuilder
- Definition Classes
- JdbcModelBuilder
- def createIndexBuilder(tableBuilder: TableBuilder, meta: Seq[MIndexInfo]): IndexBuilder
- Definition Classes
- JdbcModelBuilder
- def createPrimaryKeyBuilder(tableBuilder: TableBuilder, meta: Seq[MPrimaryKey]): PrimaryKeyBuilder
- Definition Classes
- JdbcModelBuilder
- def createTableBuilder(namer: TableNamer): DBIO[TableBuilder]
Table model builder factory.
Table model builder factory. Override for customization.
- Definition Classes
- JdbcModelBuilder
- def createTableNamer(mTable: MTable): TableNamer
- Definition Classes
- ModelBuilder → JdbcModelBuilder
- def ensuring(cond: (ModelBuilder) => Boolean, msg: => Any): ModelBuilder
- Implicit
- This member is added by an implicit conversion from ModelBuilder toEnsuring[ModelBuilder] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (ModelBuilder) => Boolean): ModelBuilder
- Implicit
- This member is added by an implicit conversion from ModelBuilder toEnsuring[ModelBuilder] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): ModelBuilder
- Implicit
- This member is added by an implicit conversion from ModelBuilder toEnsuring[ModelBuilder] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): ModelBuilder
- Implicit
- This member is added by an implicit conversion from ModelBuilder toEnsuring[ModelBuilder] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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
- lazy val logger: SlickLogger
- Attributes
- protected[this]
- Definition Classes
- Logging
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- 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
- 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
- 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
- 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
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- lazy val tableNamers: Seq[TableNamer]
- Definition Classes
- JdbcModelBuilder
- lazy val tableNamersByQName: Map[MQName, TableNamer]
- Definition Classes
- JdbcModelBuilder
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from ModelBuilder toStringFormat[ModelBuilder] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)
instead ofvalue.formatted(formatString)
, or use thef""
string interpolator. In Java 15 and later,formatted
resolves to the new method in String which has reversed parameters.
- def →[B](y: B): (ModelBuilder, B)
- Implicit
- This member is added by an implicit conversion from ModelBuilder toArrowAssoc[ModelBuilder] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.
edit this text on github
Scala Language-Integrated Connection Kit
This is the API documentation for the Slick database library. It should be used as an additional resource to the user manual.
Further documentation for Slick can be found on the documentation pages.
To the slick package list...