Packages

c

slick.jdbc.MySQLProfile

MySQLModelBuilder

class MySQLModelBuilder extends JdbcModelBuilder

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

Instance Constructors

  1. new MySQLModelBuilder(mTables: Seq[MTable], ignoreInvalidDefaults: Boolean)(implicit ec: ExecutionContext)

Type Members

  1. class Builders extends AnyRef
    Definition Classes
    JdbcModelBuilder
  2. class ColumnBuilder extends AnyRef

    Column model builder.

    Column model builder.

    Definition Classes
    JdbcModelBuilder
  3. class ForeignKeyBuilder extends AnyRef
    Definition Classes
    JdbcModelBuilder
  4. class IndexBuilder extends AnyRef
    Definition Classes
    JdbcModelBuilder
  5. class PrimaryKeyBuilder extends AnyRef
    Definition Classes
    JdbcModelBuilder
  6. class TableBuilder extends AnyRef

    Table model builder

    Table model builder

    Definition Classes
    JdbcModelBuilder
  7. class TableNamer extends AnyRef
    Definition Classes
    JdbcModelBuilder
  8. class MySQLColumnBuilder extends ColumnBuilder
  9. class MySQLPrimaryKeyBuilder extends PrimaryKeyBuilder
  10. class MySQLTableNamer extends TableNamer

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def ->[B](y: B): (MySQLModelBuilder, B)
    Implicit
    This member is added by an implicit conversion from MySQLModelBuilder toArrowAssoc[MySQLModelBuilder] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. 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
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  8. def createBuilders(tablesByQName: Map[MQName, TableBuilder]): Builders
    Definition Classes
    JdbcModelBuilder
  9. def createColumnBuilder(tableBuilder: TableBuilder, meta: MColumn): ColumnBuilder

    Column model builder factory.

    Column model builder factory. Override for customization.

    Definition Classes
    MySQLModelBuilderJdbcModelBuilder
  10. def createForeignKeyBuilder(tableBuilder: TableBuilder, meta: Seq[MForeignKey]): ForeignKeyBuilder
    Definition Classes
    JdbcModelBuilder
  11. def createIndexBuilder(tableBuilder: TableBuilder, meta: Seq[MIndexInfo]): IndexBuilder
    Definition Classes
    JdbcModelBuilder
  12. def createPrimaryKeyBuilder(tableBuilder: TableBuilder, meta: Seq[MPrimaryKey]): PrimaryKeyBuilder
    Definition Classes
    MySQLModelBuilderJdbcModelBuilder
  13. def createTableBuilder(namer: TableNamer): DBIO[TableBuilder]

    Table model builder factory.

    Table model builder factory. Override for customization.

    Definition Classes
    JdbcModelBuilder
  14. def createTableNamer(meta: MTable): TableNamer
    Definition Classes
    MySQLModelBuilderJdbcModelBuilder
  15. def ensuring(cond: (MySQLModelBuilder) => Boolean, msg: => Any): MySQLModelBuilder
    Implicit
    This member is added by an implicit conversion from MySQLModelBuilder toEnsuring[MySQLModelBuilder] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: (MySQLModelBuilder) => Boolean): MySQLModelBuilder
    Implicit
    This member is added by an implicit conversion from MySQLModelBuilder toEnsuring[MySQLModelBuilder] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: Boolean, msg: => Any): MySQLModelBuilder
    Implicit
    This member is added by an implicit conversion from MySQLModelBuilder toEnsuring[MySQLModelBuilder] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. def ensuring(cond: Boolean): MySQLModelBuilder
    Implicit
    This member is added by an implicit conversion from MySQLModelBuilder toEnsuring[MySQLModelBuilder] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  19. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  21. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  22. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  23. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  24. 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
    MySQLModelBuilderJdbcModelBuilder
  25. lazy val logger: SlickLogger
    Attributes
    protected[this]
    Definition Classes
    Logging
  26. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  28. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  29. 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
  30. 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
  31. 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
  32. 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
  33. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  34. lazy val tableNamers: Seq[TableNamer]
    Definition Classes
    JdbcModelBuilder
  35. lazy val tableNamersByQName: Map[MQName, TableNamer]
    Definition Classes
    JdbcModelBuilder
  36. def toString(): String
    Definition Classes
    AnyRef → Any
  37. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  38. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  39. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

  2. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from MySQLModelBuilder toStringFormat[MySQLModelBuilder] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.12.16) Use formatString.format(value) instead of value.formatted(formatString), or use the f"" string interpolator. In Java 15 and later, formatted resolves to the new method in String which has reversed parameters.

  3. def [B](y: B): (MySQLModelBuilder, B)
    Implicit
    This member is added by an implicit conversion from MySQLModelBuilder toArrowAssoc[MySQLModelBuilder] 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.

Inherited from JdbcModelBuilder

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion StringFormat fromMySQLModelBuilder to StringFormat[MySQLModelBuilder]

Inherited by implicit conversion Ensuring fromMySQLModelBuilder to Ensuring[MySQLModelBuilder]

Inherited by implicit conversion ArrowAssoc fromMySQLModelBuilder to ArrowAssoc[MySQLModelBuilder]

Basic customization overrides

Ungrouped