scala.slick.driver.JdbcModelComponent.ModelBuilder.Table

Column

class Column extends AnyRef

Column model builder factory.

Source
JdbcModelComponent.scala
Linear Supertypes
AnyRef, Any
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Column
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by any2stringfmt
  3. by any2ArrowAssoc
  4. by any2Ensuring
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Column(meta: MColumn)

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

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

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

    Definition Classes
    AnyRef
  7. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  8. final val StringPattern: Regex

    Regex matcher to extract string out ouf surrounding

  9. def ansiType: Option[String]

    currently unused

  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. def autoInc: Boolean

    Indicates whether this is an auto increment column

  12. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. 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.

  14. def dbType: Option[String]

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

  15. 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.

  16. 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 columnd 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.

  17. def ensuring(cond: (Column) ⇒ Boolean, msg: ⇒ Any): Column

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    Any
  28. def length: Option[Int]

    Column length of string types

  29. val meta: MColumn

  30. def model: model.Column

  31. def name: String

  32. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  33. final def notify(): Unit

    Definition Classes
    AnyRef
  34. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  35. def nullable: Boolean

    Indicates whether this is a nullable column

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

    Definition Classes
    AnyRef
  37. def toString(): String

    Definition Classes
    AnyRef → Any
  38. def tpe: String

    Scala type this column is mapped to

  39. def varying: Boolean

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

    Indicates wether this should be a varchar in case of a string column. Currently defaults to true. Should be based on the value of dbType in the future.

  40. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. def [B](y: B): (Column, B)

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

Shadowed Implicit Value Members

  1. val self: Any

    Implicit information
    This member is added by an implicit conversion from Column to StringAdd performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (column: StringAdd).self
    Definition Classes
    StringAdd
  2. val self: Any

    Implicit information
    This member is added by an implicit conversion from Column to StringFormat performed by method any2stringfmt in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (column: StringFormat).self
    Definition Classes
    StringFormat

Deprecated Value Members

  1. def x: Column

    Implicit information
    This member is added by an implicit conversion from Column to ArrowAssoc[Column] performed by method any2ArrowAssoc in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (column: ArrowAssoc[Column]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: Column

    Implicit information
    This member is added by an implicit conversion from Column to Ensuring[Column] performed by method any2Ensuring in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (column: Ensuring[Column]).x
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from Column to StringAdd

Inherited by implicit conversion any2stringfmt from Column to StringFormat

Inherited by implicit conversion any2ArrowAssoc from Column to ArrowAssoc[Column]

Inherited by implicit conversion any2Ensuring from Column to Ensuring[Column]

Ungrouped