Class

slick.jdbc.JdbcModelBuilder

ColumnBuilder

Related Doc: package JdbcModelBuilder

Permalink

class ColumnBuilder extends AnyRef

Column model builder.

Source
JdbcModelBuilder.scala
Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ColumnBuilder
  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. All

Instance Constructors

  1. new ColumnBuilder(tableBuilder: TableBuilder, meta: MColumn)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from ColumnBuilder to any2stringadd[ColumnBuilder] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (ColumnBuilder, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from ColumnBuilder to ArrowAssoc[ColumnBuilder] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. final val StringPattern: Regex

    Permalink

    Regex matcher to extract string out ouf surrounding

  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def autoInc: Boolean

    Permalink

    Indicates whether this is an auto increment column

  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def createPrimaryKeyColumnOption: Boolean

    Permalink

    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.

  11. def dbType: Option[String]

    Permalink

    A (potentially non-portable) database column type.

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

  12. def default: Option[Option[Any]]

    Permalink

    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.

  13. def defaultColumnOption: Option[Default[_]]

    Permalink

    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.

  14. def ensuring(cond: (ColumnBuilder) ⇒ Boolean, msg: ⇒ Any): ColumnBuilder

    Permalink
    Implicit information
    This member is added by an implicit conversion from ColumnBuilder to Ensuring[ColumnBuilder] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: (ColumnBuilder) ⇒ Boolean): ColumnBuilder

    Permalink
    Implicit information
    This member is added by an implicit conversion from ColumnBuilder to Ensuring[ColumnBuilder] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: Boolean, msg: ⇒ Any): ColumnBuilder

    Permalink
    Implicit information
    This member is added by an implicit conversion from ColumnBuilder to Ensuring[ColumnBuilder] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: Boolean): ColumnBuilder

    Permalink
    Implicit information
    This member is added by an implicit conversion from ColumnBuilder to Ensuring[ColumnBuilder] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  20. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from ColumnBuilder to StringFormat[ColumnBuilder] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  22. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  23. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  24. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  25. def length: Option[Int]

    Permalink

    Column length of string types

  26. def model: Column

    Permalink
  27. def name: String

    Permalink
  28. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  29. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  30. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  31. def nullable: Boolean

    Permalink

    Indicates whether this is a nullable column

  32. def rawDefault: Option[String]

    Permalink
  33. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  34. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  35. def tpe: String

    Permalink

    Scala type this column is mapped to

  36. def varying: Boolean

    Permalink

    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.

  37. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. def [B](y: B): (ColumnBuilder, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from ColumnBuilder to ArrowAssoc[ColumnBuilder] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from ColumnBuilder to any2stringadd[ColumnBuilder]

Inherited by implicit conversion StringFormat from ColumnBuilder to StringFormat[ColumnBuilder]

Inherited by implicit conversion Ensuring from ColumnBuilder to Ensuring[ColumnBuilder]

Inherited by implicit conversion ArrowAssoc from ColumnBuilder to ArrowAssoc[ColumnBuilder]

Ungrouped