Class

org.virtuslab.unicorn.Tables

IdTable

Related Doc: package Tables

Permalink

abstract class IdTable[Id <: BaseId[Underlying], Entity <: WithId[Underlying, 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.jdbc.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
Visibility
  1. Public
  2. All

Instance Constructors

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

    Permalink

    Auxiliary constructor without schema name.

    Auxiliary constructor without schema name.

    tableName

    name of table

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

    Permalink

    schemaName

    name of schema (optional)

    tableName

    name of the table

    mapping

    mapping for id of this table

Type Members

  1. final type TableElementType = Entity

    Permalink
    Definition Classes
    Table → AbstractTable

Abstract Value Members

  1. abstract def *: ProvenShape[Entity]

    Permalink
    Definition Classes
    AbstractTable

Concrete Value Members

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

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

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

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

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

    Permalink

    Type mapper for org.joda.time.DateTime

    Type mapper for org.joda.time.DateTime

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

    Permalink

    Type mapper for org.joda.time.Duration

    Type mapper for org.joda.time.Duration

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

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

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

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

    Permalink
    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]

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

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

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

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

    Permalink

    returns

    id column representation of this table

  21. val idColumnName: String

    Permalink

    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

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

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

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

    Permalink

    Type mapper for org.joda.time.LocalDate

    Type mapper for org.joda.time.LocalDate

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

    Permalink

    mapping for id of this table

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

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

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

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

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

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

    Permalink

    name of schema (optional)

    name of schema (optional)

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

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

    Permalink
    Definition Classes
    AbstractTable
  35. def tableIdentitySymbol: TableIdentitySymbol

    Permalink
    Definition Classes
    Table → AbstractTable
  36. val tableName: String

    Permalink

    name of the table

    name of the table

    Definition Classes
    AbstractTable
  37. lazy val tableNode: TableNode

    Permalink
    Definition Classes
    AbstractTable
  38. def tableProvider: RelationalProfile

    Permalink
    Definition Classes
    Table
  39. val tableTag: Tag

    Permalink
    Definition Classes
    AbstractTable
  40. def toNode: Node

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

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

Inherited from (Tables.this)#CustomTypeMappers

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

Inherited from AbstractTable[Entity]

Inherited from Rep[Entity]

Inherited from AnyRef

Inherited from Any

Ungrouped