Packages

class TableDDLBuilder extends AnyRef

Builder for various DDL statements.

Self Type
JdbcProfile.TableDDLBuilder
Source
JdbcStatementBuilderComponent.scala
Linear Supertypes
AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TableDDLBuilder
  2. AnyRef
  3. 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

Instance Constructors

  1. new TableDDLBuilder(table: JdbcProfile.Table[_])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from JdbcProfile.TableDDLBuilder toany2stringadd[JdbcProfile.TableDDLBuilder] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (JdbcProfile.TableDDLBuilder, B)
    Implicit
    This member is added by an implicit conversion from JdbcProfile.TableDDLBuilder toArrowAssoc[JdbcProfile.TableDDLBuilder] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. def addColumnList(columns: IndexedSeq[Node], sb: StringBuilder, requiredTableName: String, typeInfo: String): Unit
    Attributes
    protected
  7. def addForeignKey(fk: ForeignKey, sb: StringBuilder): Unit
    Attributes
    protected
  8. def addForeignKeyColumnList(columns: IndexedSeq[Node], sb: StringBuilder, requiredTableName: String): Unit
    Attributes
    protected
  9. def addIndexColumnList(columns: IndexedSeq[Node], sb: StringBuilder, requiredTableName: String): Unit
    Attributes
    protected
  10. def addPrimaryKey(pk: PrimaryKey, sb: StringBuilder): Unit
    Attributes
    protected
  11. def addPrimaryKeyColumnList(columns: IndexedSeq[Node], sb: StringBuilder, requiredTableName: String): Unit
    Attributes
    protected
  12. def addTableOptions(b: StringBuilder): Unit
    Attributes
    protected
  13. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  14. def buildDDL: JdbcProfile.DDL
  15. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  16. def columns: Iterable[JdbcProfile.ColumnDDLBuilder]

    new instance on access to avoid sharing mutable state during createPhase1 or createIfNotExistsPhase

    new instance on access to avoid sharing mutable state during createPhase1 or createIfNotExistsPhase

    Attributes
    protected
  17. def createForeignKey(fk: ForeignKey): String
    Attributes
    protected
  18. def createIfNotExistsPhase: Iterable[String]
    Attributes
    protected
  19. def createIndex(idx: Index): String
    Attributes
    protected
  20. def createPhase1: Iterable[String]
    Attributes
    protected
  21. def createPhase2: Iterable[String]
    Attributes
    protected
  22. def createPrimaryKey(pk: PrimaryKey): String
    Attributes
    protected
  23. def createTable(checkNotExists: Boolean): String
    Attributes
    protected
  24. def dropForeignKey(fk: ForeignKey): String
    Attributes
    protected
  25. def dropForeignKeyIfExists(fk: ForeignKey): String
    Attributes
    protected
  26. def dropIfExistsPhase: Iterable[String]
    Attributes
    protected
  27. def dropPhase1: Iterable[String]
    Attributes
    protected
  28. def dropPhase2: Iterable[String]
    Attributes
    protected
  29. def dropPrimaryKey(pk: PrimaryKey): String
    Attributes
    protected
  30. def dropTable(ifExists: Boolean): String
    Attributes
    protected
  31. def ensuring(cond: (JdbcProfile.TableDDLBuilder) => Boolean, msg: => Any): JdbcProfile.TableDDLBuilder
    Implicit
    This member is added by an implicit conversion from JdbcProfile.TableDDLBuilder toEnsuring[JdbcProfile.TableDDLBuilder] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  32. def ensuring(cond: (JdbcProfile.TableDDLBuilder) => Boolean): JdbcProfile.TableDDLBuilder
    Implicit
    This member is added by an implicit conversion from JdbcProfile.TableDDLBuilder toEnsuring[JdbcProfile.TableDDLBuilder] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  33. def ensuring(cond: Boolean, msg: => Any): JdbcProfile.TableDDLBuilder
    Implicit
    This member is added by an implicit conversion from JdbcProfile.TableDDLBuilder toEnsuring[JdbcProfile.TableDDLBuilder] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  34. def ensuring(cond: Boolean): JdbcProfile.TableDDLBuilder
    Implicit
    This member is added by an implicit conversion from JdbcProfile.TableDDLBuilder toEnsuring[JdbcProfile.TableDDLBuilder] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  35. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  36. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  37. val foreignKeys: Iterable[ForeignKey]
    Attributes
    protected
  38. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  39. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  40. val indexes: Iterable[Index]
    Attributes
    protected
  41. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  42. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  43. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  44. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  45. val primaryKeys: Iterable[PrimaryKey]
    Attributes
    protected
  46. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  47. val table: JdbcProfile.Table[_]
  48. val tableNode: TableNode
    Attributes
    protected
  49. def toString(): String
    Definition Classes
    AnyRef → Any
  50. def truncatePhase: Iterable[String]
    Attributes
    protected
  51. def truncateTable: String
    Attributes
    protected
  52. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  53. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  54. 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
  2. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from JdbcProfile.TableDDLBuilder toStringFormat[JdbcProfile.TableDDLBuilder] 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): (JdbcProfile.TableDDLBuilder, B)
    Implicit
    This member is added by an implicit conversion from JdbcProfile.TableDDLBuilder toArrowAssoc[JdbcProfile.TableDDLBuilder] 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 AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd fromJdbcProfile.TableDDLBuilder to any2stringadd[JdbcProfile.TableDDLBuilder]

Inherited by implicit conversion StringFormat fromJdbcProfile.TableDDLBuilder to StringFormat[JdbcProfile.TableDDLBuilder]

Inherited by implicit conversion Ensuring fromJdbcProfile.TableDDLBuilder to Ensuring[JdbcProfile.TableDDLBuilder]

Inherited by implicit conversion ArrowAssoc fromJdbcProfile.TableDDLBuilder to ArrowAssoc[JdbcProfile.TableDDLBuilder]

Ungrouped