class PostgresTableDDLBuilder extends TableDDLBuilder
- Alphabetic
- By Inheritance
- PostgresTableDDLBuilder
- TableDDLBuilder
- AnyRef
- Any
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new PostgresTableDDLBuilder(table: PostgresProfile.Table[_])
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def ->[B](y: B): (PostgresTableDDLBuilder, B)
- Implicit
- This member is added by an implicit conversion from PostgresTableDDLBuilder toArrowAssoc[PostgresTableDDLBuilder] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addColumnList(columns: IndexedSeq[Node], sb: StringBuilder, requiredTableName: String, typeInfo: String): Unit
- Attributes
- protected
- Definition Classes
- TableDDLBuilder
- def addForeignKey(fk: ForeignKey, sb: StringBuilder): Unit
- Attributes
- protected
- Definition Classes
- TableDDLBuilder
- def addForeignKeyColumnList(columns: IndexedSeq[Node], sb: StringBuilder, requiredTableName: String): Unit
- Attributes
- protected
- Definition Classes
- TableDDLBuilder
- def addIndexColumnList(columns: IndexedSeq[Node], sb: StringBuilder, requiredTableName: String): Unit
- Attributes
- protected
- Definition Classes
- TableDDLBuilder
- def addPrimaryKey(pk: PrimaryKey, sb: StringBuilder): Unit
- Attributes
- protected
- Definition Classes
- TableDDLBuilder
- def addPrimaryKeyColumnList(columns: IndexedSeq[Node], sb: StringBuilder, requiredTableName: String): Unit
- Attributes
- protected
- Definition Classes
- TableDDLBuilder
- def addTableOptions(b: StringBuilder): Unit
- Attributes
- protected
- Definition Classes
- TableDDLBuilder
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def buildDDL: PostgresProfile.DDL
- Definition Classes
- TableDDLBuilder
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def columns: Iterable[PostgresProfile.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
- Definition Classes
- TableDDLBuilder
- def createForeignKey(fk: ForeignKey): String
- Attributes
- protected
- Definition Classes
- TableDDLBuilder
- def createIfNotExistsPhase: Iterable[String]
- Attributes
- protected
- Definition Classes
- TableDDLBuilder
- def createIndex(idx: Index): String
- Attributes
- protected
- Definition Classes
- TableDDLBuilder
- def createPhase1: Iterable[String]
- Definition Classes
- PostgresTableDDLBuilder → TableDDLBuilder
- def createPhase2: Iterable[String]
- Attributes
- protected
- Definition Classes
- TableDDLBuilder
- def createPrimaryKey(pk: PrimaryKey): String
- Attributes
- protected
- Definition Classes
- TableDDLBuilder
- def createTable(checkNotExists: Boolean): String
- Attributes
- protected
- Definition Classes
- TableDDLBuilder
- def dropForeignKey(fk: ForeignKey): String
- Attributes
- protected
- Definition Classes
- TableDDLBuilder
- def dropForeignKeyIfExists(fk: ForeignKey): String
- Attributes
- protected
- Definition Classes
- TableDDLBuilder
- def dropIfExistsPhase: Iterable[String]
- Attributes
- protected
- Definition Classes
- TableDDLBuilder
- def dropPhase1: Iterable[String]
- Definition Classes
- PostgresTableDDLBuilder → TableDDLBuilder
- def dropPhase2: Iterable[String]
- Attributes
- protected
- Definition Classes
- TableDDLBuilder
- def dropPrimaryKey(pk: PrimaryKey): String
- Attributes
- protected
- Definition Classes
- TableDDLBuilder
- def dropTable(ifExists: Boolean): String
- Attributes
- protected
- Definition Classes
- TableDDLBuilder
- def ensuring(cond: (PostgresTableDDLBuilder) => Boolean, msg: => Any): PostgresTableDDLBuilder
- Implicit
- This member is added by an implicit conversion from PostgresTableDDLBuilder toEnsuring[PostgresTableDDLBuilder] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (PostgresTableDDLBuilder) => Boolean): PostgresTableDDLBuilder
- Implicit
- This member is added by an implicit conversion from PostgresTableDDLBuilder toEnsuring[PostgresTableDDLBuilder] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): PostgresTableDDLBuilder
- Implicit
- This member is added by an implicit conversion from PostgresTableDDLBuilder toEnsuring[PostgresTableDDLBuilder] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): PostgresTableDDLBuilder
- Implicit
- This member is added by an implicit conversion from PostgresTableDDLBuilder toEnsuring[PostgresTableDDLBuilder] 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
- val foreignKeys: Iterable[ForeignKey]
- Attributes
- protected
- Definition Classes
- TableDDLBuilder
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val indexes: Iterable[Index]
- Attributes
- protected
- Definition Classes
- TableDDLBuilder
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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()
- val primaryKeys: Iterable[PrimaryKey]
- Attributes
- protected
- Definition Classes
- TableDDLBuilder
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val table: PostgresProfile.Table[_]
- Definition Classes
- TableDDLBuilder
- val tableNode: TableNode
- Attributes
- protected
- Definition Classes
- TableDDLBuilder
- def toString(): String
- Definition Classes
- AnyRef → Any
- def truncatePhase: Iterable[String]
- Attributes
- protected
- Definition Classes
- TableDDLBuilder
- def truncateTable: String
- Attributes
- protected
- Definition Classes
- TableDDLBuilder
- 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 PostgresTableDDLBuilder toStringFormat[PostgresTableDDLBuilder] 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): (PostgresTableDDLBuilder, B)
- Implicit
- This member is added by an implicit conversion from PostgresTableDDLBuilder toArrowAssoc[PostgresTableDDLBuilder] 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...