class ColumnBuilder extends AnyRef
- Alphabetic
- By Inheritance
- ColumnBuilder
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
- new ColumnBuilder(tableBuilder: TableBuilder, meta: MColumn)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from ColumnBuilder to any2stringadd[ColumnBuilder] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (ColumnBuilder, B)
- Implicit
- 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()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
val
StringPattern: Regex
Regex matcher to extract string out ouf surrounding
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
autoInc: Boolean
Indicates whether this is an auto increment column
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
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.
-
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
-
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. -
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. -
def
ensuring(cond: (ColumnBuilder) ⇒ Boolean, msg: ⇒ Any): ColumnBuilder
- Implicit
- This member is added by an implicit conversion from ColumnBuilder to Ensuring[ColumnBuilder] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (ColumnBuilder) ⇒ Boolean): ColumnBuilder
- Implicit
- This member is added by an implicit conversion from ColumnBuilder to Ensuring[ColumnBuilder] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): ColumnBuilder
- Implicit
- This member is added by an implicit conversion from ColumnBuilder to Ensuring[ColumnBuilder] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): ColumnBuilder
- Implicit
- This member is added by an implicit conversion from ColumnBuilder to Ensuring[ColumnBuilder] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
formatted(fmtstr: String): String
- Implicit
- 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()
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
length: Option[Int]
Column length of string types
- def model: Column
- def name: String
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
nullable: Boolean
Indicates whether this is a nullable column
- def rawDefault: Option[String]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
tpe: String
Scala type this column is mapped to
-
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.
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
→[B](y: B): (ColumnBuilder, B)
- Implicit
- This member is added by an implicit conversion from ColumnBuilder to ArrowAssoc[ColumnBuilder] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
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...