org.virtuslab.unicorn.Tables

IdTable

Related Doc: package Tables

abstract class IdTable[Id <: (Tables.this)#BaseId, Entity <: (Tables.this)#WithId[Id]] extends (Tables.this)#BaseTable[Entity]

Base class for all tables that contains an id.

Id

type of id

Entity

type of entities in table

Linear Supertypes
(Tables.this)#BaseTable[Entity], (Tables.this)#CustomTypeMappers, slick.driver.JdbcProfile.Table[Entity], AbstractTable[Entity], Rep[Entity], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. IdTable
  2. BaseTable
  3. CustomTypeMappers
  4. Table
  5. AbstractTable
  6. Rep
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new IdTable(tag: slick.driver.JdbcProfile.API.Tag, tableName: String)(implicit mapping: slick.driver.JdbcProfile.API.BaseColumnType[Id])

    Auxiliary constructor without schema name.

    Auxiliary constructor without schema name.

    tableName

    name of table

  2. new IdTable(tag: slick.driver.JdbcProfile.API.Tag, schemaName: Option[String], tableName: String)(implicit mapping: slick.driver.JdbcProfile.API.BaseColumnType[Id])

    schemaName

    name of schema (optional)

    tableName

    name of the table

    mapping

    mapping for id of this table

Type Members

  1. final type TableElementType = Entity

    Definition Classes
    Table → AbstractTable

Abstract Value Members

  1. abstract def *: ProvenShape[Entity]

    Definition Classes
    AbstractTable

Concrete Value Members

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

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

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

    Definition Classes
    AnyRef → Any
  4. val O: slick.driver.JdbcProfile.columnOptions.type

    Definition Classes
    Table
  5. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  6. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def collectFieldSymbols(n: Node): Iterable[FieldSymbol]

    Attributes
    protected[this]
    Definition Classes
    AbstractTable
  8. def column[C](n: String, options: ColumnOption[C]*)(implicit tt: TypedType[C]): Rep[C]

    Definition Classes
    Table
  9. def create_*: Iterable[FieldSymbol]

    Definition Classes
    AbstractTable
  10. implicit val dateTimeMapper: slick.driver.JdbcProfile.API.BaseColumnType[DateTime]

    Type mapper for org.joda.time.DateTime

    Type mapper for org.joda.time.DateTime

    Definition Classes
    CustomTypeMappers
  11. implicit val durationTypeMapper: slick.driver.JdbcProfile.API.BaseColumnType[Duration]

    Type mapper for org.joda.time.Duration

    Type mapper for org.joda.time.Duration

    Definition Classes
    CustomTypeMappers
  12. def encodeRef(path: Node): AbstractTable[Entity]

    Definition Classes
    AbstractTable → Rep
  13. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def foreignKey[P, PU, TT <: AbstractTable[_], U](name: String, sourceColumns: P, targetTableQuery: TableQuery[TT])(targetColumns: (TT) ⇒ P, onUpdate: ForeignKeyAction, onDelete: ForeignKeyAction)(implicit unpack: Shape[_ <: FlatShapeLevel, TT, U, _], unpackp: Shape[_ <: FlatShapeLevel, P, PU, _]): ForeignKeyQuery[TT, U]

    Definition Classes
    AbstractTable
  17. final def foreignKeys: Iterable[ForeignKey]

    Definition Classes
    AbstractTable
  18. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
  20. final def id: slick.driver.JdbcProfile.API.Rep[Id]

    returns

    id column representation of this table

  21. val idColumnName: String

    Name of an id column - override it if you want to change it.

    Name of an id column - override it if you want to change it.

    For example in H2DB where you need an uppercase "ID":

    override val idColumnName = "ID"
    Attributes
    protected
  22. def index[T](name: String, on: T, unique: Boolean)(implicit shape: Shape[_ <: FlatShapeLevel, T, _, _]): Index

    Definition Classes
    AbstractTable
  23. def indexes: Iterable[Index]

    Definition Classes
    AbstractTable
  24. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  25. implicit val localDateMapper: slick.driver.JdbcProfile.API.BaseColumnType[LocalDate]

    Type mapper for org.joda.time.LocalDate

    Type mapper for org.joda.time.LocalDate

    Definition Classes
    CustomTypeMappers
  26. implicit val mapping: slick.driver.JdbcProfile.API.BaseColumnType[Id]

    mapping for id of this table

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

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

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

    Definition Classes
    AnyRef
  30. def primaryKey[T](name: String, sourceColumns: T)(implicit shape: Shape[_ <: FlatShapeLevel, T, _, _]): PrimaryKey

    Definition Classes
    AbstractTable
  31. final def primaryKeys: Iterable[PrimaryKey]

    Definition Classes
    AbstractTable
  32. val schemaName: Option[String]

    name of schema (optional)

    name of schema (optional)

    Definition Classes
    AbstractTable
  33. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  34. def tableConstraints: Iterator[Constraint]

    Definition Classes
    AbstractTable
  35. def tableIdentitySymbol: TableIdentitySymbol

    Definition Classes
    Table → AbstractTable
  36. val tableName: String

    name of the table

    name of the table

    Definition Classes
    AbstractTable
  37. lazy val tableNode: TableNode

    Definition Classes
    AbstractTable
  38. def tableProvider: RelationalDriver

    Definition Classes
    Table
  39. val tableTag: Tag

    Definition Classes
    AbstractTable
  40. def toNode: Node

    Definition Classes
    AbstractTable → Rep
  41. def toString(): String

    Definition Classes
    Rep → AnyRef → Any
  42. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from (Tables.this)#BaseTable[Entity]

Inherited from (Tables.this)#CustomTypeMappers

Inherited from slick.driver.JdbcProfile.Table[Entity]

Inherited from AbstractTable[Entity]

Inherited from Rep[Entity]

Inherited from AnyRef

Inherited from Any

Ungrouped