Packages

class PostgresColumnBuilder extends ColumnBuilder

Source
PostgresProfile.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PostgresColumnBuilder
  2. ColumnBuilder
  3. AnyRef
  4. 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 PostgresColumnBuilder(tableBuilder: ModelBuilder.TableBuilder, meta: MColumn)

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): (PostgresColumnBuilder, B)
    Implicit
    This member is added by an implicit conversion from PostgresColumnBuilder toArrowAssoc[PostgresColumnBuilder] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. val NumericPattern: Regex
  6. final val StringPattern: Regex

    Regex matcher to extract string out ouf surrounding

    Regex matcher to extract string out ouf surrounding

    Definition Classes
    ColumnBuilder
  7. val TextPattern: Regex
  8. val UUIDPattern: Regex
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def autoInc: Boolean

    Indicates whether this is an auto increment column

    Indicates whether this is an auto increment column

    Definition Classes
    ColumnBuilder
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  12. def createPrimaryKeyColumnOption: Boolean

    Indicates whether a ColumnOption Primary key should be put into the model.

    Indicates whether a ColumnOption Primary key should be put into the model. Only valid for single column primary keys.

    Definition Classes
    ColumnBuilder
  13. def dbType: Option[String]

    A (potentially non-portable) database column type.

    A (potentially non-portable) database column type. For string types, this should not include a length ascription.

    Definition Classes
    ColumnBuilder
  14. def default: Option[Option[Any]]

    The default value for the column.

    The default value for the column. The outer option is used to indicate if a default value is given. The inner Option is used to allow giving None for a nullable column. This method must not return Some(None) for a non-nullable column.

    Default values for autoInc column are automatically ignored (as if returning None).

    If ignoreInvalidDefaults = true, Slick catches scala.MatchError and java.lang.NumberFormatException thrown by this method, logs the message and treats it as no default value for convenience.

    Definition Classes
    PostgresColumnBuilderColumnBuilder
  15. def defaultColumnOption: Option[Default[_]]

    The default value for the column as a ColumnOption Default or None if no default.

    The default value for the column as a ColumnOption Default or None if no default. The value wrapped by ColumnOption Default needs to be an Option in case of a nullable column but can't be an Option in case of a non-nullable Column.

    Default values for autoInc columns are automatically ignored.

    If ignoreInvalidDefaults = true, Slick catches scala.MatchError and java.lang.NumberFormatException thrown by this method, logs the message and treats it as no default value for convenience.

    Definition Classes
    ColumnBuilder
  16. def ensuring(cond: (PostgresColumnBuilder) => Boolean, msg: => Any): PostgresColumnBuilder
    Implicit
    This member is added by an implicit conversion from PostgresColumnBuilder toEnsuring[PostgresColumnBuilder] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: (PostgresColumnBuilder) => Boolean): PostgresColumnBuilder
    Implicit
    This member is added by an implicit conversion from PostgresColumnBuilder toEnsuring[PostgresColumnBuilder] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. def ensuring(cond: Boolean, msg: => Any): PostgresColumnBuilder
    Implicit
    This member is added by an implicit conversion from PostgresColumnBuilder toEnsuring[PostgresColumnBuilder] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  19. def ensuring(cond: Boolean): PostgresColumnBuilder
    Implicit
    This member is added by an implicit conversion from PostgresColumnBuilder toEnsuring[PostgresColumnBuilder] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  20. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  22. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  23. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  24. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  25. def length: Option[Int]

    Column length of string types

    Column length of string types

    Definition Classes
    PostgresColumnBuilderColumnBuilder
  26. def model: Column
    Definition Classes
    ColumnBuilder
  27. def name: String
    Definition Classes
    ColumnBuilder
  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  31. def nullable: Boolean

    Indicates whether this is a nullable column

    Indicates whether this is a nullable column

    Definition Classes
    ColumnBuilder
  32. def rawDefault: Option[String]
    Definition Classes
    ColumnBuilder
  33. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  34. def toString(): String
    Definition Classes
    AnyRef → Any
  35. def tpe: String

    Scala type this column is mapped to

    Scala type this column is mapped to

    Definition Classes
    PostgresColumnBuilderColumnBuilder
  36. def varying: Boolean

    Indicates whether this should be a varchar in case of a string column.

    Indicates whether this should be a varchar in case of a string column. Should be based on the value of dbType in the future.

    Definition Classes
    PostgresColumnBuilderColumnBuilder
  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 PostgresColumnBuilder toStringFormat[PostgresColumnBuilder] 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): (PostgresColumnBuilder, B)
    Implicit
    This member is added by an implicit conversion from PostgresColumnBuilder toArrowAssoc[PostgresColumnBuilder] 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 StringFormat fromPostgresColumnBuilder to StringFormat[PostgresColumnBuilder]

Inherited by implicit conversion Ensuring fromPostgresColumnBuilder to Ensuring[PostgresColumnBuilder]

Inherited by implicit conversion ArrowAssoc fromPostgresColumnBuilder to ArrowAssoc[PostgresColumnBuilder]

Ungrouped