org.virtuslab.unicorn.ids

IdTable

abstract class IdTable[I <: BaseId, A <: WithId[I]] extends BaseTable[A] with SavingMethods[I, A, IdTable[I, A]]

Base class for all tables that contains an id.

I

type of id

A

type of table

Linear Supertypes
SavingMethods[I, A, IdTable[I, A]], BaseTable[A], CustomTypeMappers, scala.slick.driver.ExtendedDriver.Table[A], AbstractTable[A], NullaryNode, SimpleNode, ColumnBase[A], RecordLinearizer[A], ValueLinearizer[A], Rep[A], WithOp, Cloneable, Cloneable, TableNode, Node, NodeGenerator, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. IdTable
  2. SavingMethods
  3. BaseTable
  4. CustomTypeMappers
  5. Table
  6. AbstractTable
  7. NullaryNode
  8. SimpleNode
  9. ColumnBase
  10. RecordLinearizer
  11. ValueLinearizer
  12. Rep
  13. WithOp
  14. Cloneable
  15. Cloneable
  16. TableNode
  17. Node
  18. NodeGenerator
  19. AnyRef
  20. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new IdTable(tableName: String)(implicit mapping: NTM[I])

    Auxiliary constructor without schema name.

    Auxiliary constructor without schema name.

    tableName

    name of table

  2. new IdTable(schemaName: Option[String], tableName: String)(implicit mapping: NTM[I])

    schemaName

    name of schema (optional)

    tableName

    name of the table

    mapping

    mapping for id of this table

Abstract Value Members

  1. abstract def *: ColumnBase[A]

    Definition Classes
    AbstractTable
  2. abstract def insertOne(elem: A)(implicit session: Session): I

    Method for inserting one element, to be implemented by subtypes.

    Method for inserting one element, to be implemented by subtypes.

    elem

    element to insert

    session

    implicit session

    returns

Concrete 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. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  6. val O: scala.slick.driver.ExtendedDriver.columnOptions.type

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

    Definition Classes
    Any
  8. def clone(): IdTable.this.type

    Definition Classes
    WithOp → AnyRef
  9. def column[C](n: String, options: ColumnOption[C]*)(implicit tm: TypeMapper[C]): Column[C]

    Definition Classes
    Table
  10. def createFinderBy[P](f: (IdTable.this.type) ⇒ Column[P])(implicit tm: TypeMapper[P]): BasicQueryTemplate[P, A]

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

    Definition Classes
    AbstractTable
  12. implicit val dateTimeMapper: BaseTypeMapper[DateTime]

    Type mapper for org.joda.time.DateTime

    Type mapper for org.joda.time.DateTime

    Definition Classes
    CustomTypeMappers
  13. def ddl: DDL

    Definition Classes
    Table
  14. implicit val durationTypeMapper: BaseTypeMapper[Duration]

    Type mapper for org.joda.time.Duration

    Type mapper for org.joda.time.Duration

    Definition Classes
    CustomTypeMappers
  15. final def eq(arg0: AnyRef): Boolean

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

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

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

    Definition Classes
    AbstractTable
  19. final def foreignKeys: Iterable[ForeignKey[_ <: TableNode, _]]

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

    Definition Classes
    AnyRef → Any
  21. def getLinearizedNodes: IndexedSeq[Node]

    Definition Classes
    AbstractTable → RecordLinearizer
  22. def getResult(profile: BasicProfile, rs: PositionedResult): A

    Definition Classes
    AbstractTable → RecordLinearizer
  23. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  24. final def id: Column[I]

    returns

    id column representation of this table

  25. def index[T](name: String, on: T, unique: Boolean)(implicit shape: Shape[T, _, _]): Index

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

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

    Definition Classes
    Any
  28. implicit val localDateMapper: BaseTypeMapper[LocalDate]

    Type mapper for org.joda.time.LocalDate

    Type mapper for org.joda.time.LocalDate

    Definition Classes
    CustomTypeMappers
  29. def mapOp(f: (Node, List[Int]) ⇒ Node, positions: List[Int]): IdTable.this.type

    Definition Classes
    WithOp
  30. implicit val mapping: NTM[I]

    mapping for id of this table

  31. final def narrowedLinearizer: RecordLinearizer[A]

    Definition Classes
    RecordLinearizer → ValueLinearizer
  32. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  33. def nodeChildNames: Iterable[String]

    Definition Classes
    Node
  34. val nodeChildren: Nil.type

    Definition Classes
    NullaryNode → Node
  35. def nodeDelegate: Node

    Definition Classes
    Node → NodeGenerator
  36. def nodeIntrinsicSymbol: IntrinsicSymbol

    Definition Classes
    Node
  37. def nodeMapChildren(f: (Node) ⇒ Node): Node

    Definition Classes
    SimpleNode → Node
  38. final def nodeMapNodes(s: Iterable[Node], f: (Node) ⇒ Node): Option[IndexedSeq[Node]]

    Attributes
    protected[this]
    Definition Classes
    Node
  39. final def nodeRebuild(ch: IndexedSeq[Node]): Node

    Attributes
    protected[this]
    Definition Classes
    NullaryNode → SimpleNode
  40. def nodeShaped_*: ShapedValue[_, _]

    Definition Classes
    AbstractTable → TableNode
  41. def nodeTableSymbol: TableSymbol

    Definition Classes
    TableNode
  42. final def notify(): Unit

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

    Definition Classes
    AnyRef
  44. final def op: Node

    Definition Classes
    WithOp
  45. def primaryKey[T](name: String, sourceColumns: T)(implicit unpack: Shape[T, _, _]): PrimaryKey

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

    Definition Classes
    AbstractTable
  47. def saveBase[B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, B19, B20, B21](proj: Projection21[B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, B19, B20, B21], unapply: (A) ⇒ Option[(Option[I], B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, B19, B20, B21)])(v: A)(implicit s: Session): I

    Attributes
    protected
    Definition Classes
    SavingMethods
  48. def saveBase[B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, B19, B20](proj: Projection20[B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, B19, B20], unapply: (A) ⇒ Option[(Option[I], B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, B19, B20)])(v: A)(implicit s: Session): I

    Attributes
    protected
    Definition Classes
    SavingMethods
  49. def saveBase[B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, B19](proj: Projection19[B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, B19], unapply: (A) ⇒ Option[(Option[I], B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, B19)])(v: A)(implicit s: Session): I

    Attributes
    protected
    Definition Classes
    SavingMethods
  50. def saveBase[B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18](proj: Projection18[B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18], unapply: (A) ⇒ Option[(Option[I], B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18)])(v: A)(implicit s: Session): I

    Attributes
    protected
    Definition Classes
    SavingMethods
  51. def saveBase[B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17](proj: Projection17[B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17], unapply: (A) ⇒ Option[(Option[I], B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17)])(v: A)(implicit s: Session): I

    Attributes
    protected
    Definition Classes
    SavingMethods
  52. def saveBase[B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16](proj: Projection16[B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16], unapply: (A) ⇒ Option[(Option[I], B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16)])(v: A)(implicit s: Session): I

    Attributes
    protected
    Definition Classes
    SavingMethods
  53. def saveBase[B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15](proj: Projection15[B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15], unapply: (A) ⇒ Option[(Option[I], B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15)])(v: A)(implicit s: Session): I

    Attributes
    protected
    Definition Classes
    SavingMethods
  54. def saveBase[B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14](proj: Projection14[B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14], unapply: (A) ⇒ Option[(Option[I], B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14)])(v: A)(implicit s: Session): I

    Attributes
    protected
    Definition Classes
    SavingMethods
  55. def saveBase[B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13](proj: Projection13[B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13], unapply: (A) ⇒ Option[(Option[I], B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13)])(v: A)(implicit s: Session): I

    Attributes
    protected
    Definition Classes
    SavingMethods
  56. def saveBase[B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12](proj: Projection12[B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12], unapply: (A) ⇒ Option[(Option[I], B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12)])(v: A)(implicit s: Session): I

    Attributes
    protected
    Definition Classes
    SavingMethods
  57. def saveBase[B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11](proj: Projection11[B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11], unapply: (A) ⇒ Option[(Option[I], B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11)])(v: A)(implicit s: Session): I

    Attributes
    protected
    Definition Classes
    SavingMethods
  58. def saveBase[B1, B2, B3, B4, B5, B6, B7, B8, B9, B10](proj: Projection10[B1, B2, B3, B4, B5, B6, B7, B8, B9, B10], unapply: (A) ⇒ Option[(Option[I], B1, B2, B3, B4, B5, B6, B7, B8, B9, B10)])(v: A)(implicit s: Session): I

    Attributes
    protected
    Definition Classes
    SavingMethods
  59. def saveBase[B1, B2, B3, B4, B5, B6, B7, B8, B9](proj: Projection9[B1, B2, B3, B4, B5, B6, B7, B8, B9], unapply: (A) ⇒ Option[(Option[I], B1, B2, B3, B4, B5, B6, B7, B8, B9)])(v: A)(implicit s: Session): I

    Attributes
    protected
    Definition Classes
    SavingMethods
  60. def saveBase[B1, B2, B3, B4, B5, B6, B7, B8](proj: Projection8[B1, B2, B3, B4, B5, B6, B7, B8], unapply: (A) ⇒ Option[(Option[I], B1, B2, B3, B4, B5, B6, B7, B8)])(v: A)(implicit s: Session): I

    Attributes
    protected
    Definition Classes
    SavingMethods
  61. def saveBase[B1, B2, B3, B4, B5, B6, B7](proj: Projection7[B1, B2, B3, B4, B5, B6, B7], unapply: (A) ⇒ Option[(Option[I], B1, B2, B3, B4, B5, B6, B7)])(v: A)(implicit s: Session): I

    Attributes
    protected
    Definition Classes
    SavingMethods
  62. def saveBase[B1, B2, B3, B4, B5, B6](proj: Projection6[B1, B2, B3, B4, B5, B6], unapply: (A) ⇒ Option[(Option[I], B1, B2, B3, B4, B5, B6)])(v: A)(implicit s: Session): I

    Attributes
    protected
    Definition Classes
    SavingMethods
  63. def saveBase[B1, B2, B3, B4, B5](proj: Projection5[B1, B2, B3, B4, B5], unapply: (A) ⇒ Option[(Option[I], B1, B2, B3, B4, B5)])(v: A)(implicit s: Session): I

    Attributes
    protected
    Definition Classes
    SavingMethods
  64. def saveBase[B1, B2, B3, B4](proj: Projection4[B1, B2, B3, B4], unapply: (A) ⇒ Option[(Option[I], B1, B2, B3, B4)])(v: A)(implicit s: Session): I

    Attributes
    protected
    Definition Classes
    SavingMethods
  65. def saveBase[B1, B2, B3](proj: Projection3[B1, B2, B3], unapply: (A) ⇒ Option[(Option[I], B1, B2, B3)])(v: A)(implicit s: Session): I

    Attributes
    protected
    Definition Classes
    SavingMethods
  66. def saveBase[B1, B2](proj: Projection2[B1, B2], unapply: (A) ⇒ Option[(Option[I], B1, B2)])(v: A)(implicit s: Session): I

    Attributes
    protected
    Definition Classes
    SavingMethods
  67. def saveBase[B](proj: Column[B], unapply: (A) ⇒ Option[(Option[I], B)])(v: A)(implicit s: Session): I

    Attributes
    protected
    Definition Classes
    SavingMethods
  68. def setParameter(profile: BasicProfile, ps: PositionedParameters, value: Option[A]): Unit

    Definition Classes
    AbstractTable → RecordLinearizer
  69. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Definition Classes
    AbstractTable
  71. def toString(): String

    Definition Classes
    TableNode → Node → AnyRef → Any
  72. def updateResult(profile: BasicProfile, rs: PositionedResult, value: A): Unit

    Definition Classes
    AbstractTable → RecordLinearizer
  73. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from SavingMethods[I, A, IdTable[I, A]]

Inherited from BaseTable[A]

Inherited from CustomTypeMappers

Inherited from scala.slick.driver.ExtendedDriver.Table[A]

Inherited from AbstractTable[A]

Inherited from NullaryNode

Inherited from SimpleNode

Inherited from ColumnBase[A]

Inherited from RecordLinearizer[A]

Inherited from ValueLinearizer[A]

Inherited from Rep[A]

Inherited from WithOp

Inherited from Cloneable

Inherited from Cloneable

Inherited from TableNode

Inherited from Node

Inherited from NodeGenerator

Inherited from AnyRef

Inherited from Any

Ungrouped