org.virtuslab.unicorn.Tables

JunctionTable

abstract class JunctionTable[First, Second] extends (scala.slick.driver.JdbcDriver.simple)#Table[(First, Second)]

Base table for simple linking between two values

First

type of one entity

Second

type of other entity

Linear Supertypes
scala.slick.driver.JdbcDriver.Table[(First, Second)], AbstractTable[(First, Second)], ColumnBase[(First, Second)], Rep[(First, Second)], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. JunctionTable
  2. Table
  3. AbstractTable
  4. ColumnBase
  5. Rep
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new JunctionTable(tag: (scala.slick.driver.JdbcDriver.simple)#Tag, tableName: String)(implicit arg0: (scala.slick.driver.JdbcDriver.simple)#BaseColumnType[First], arg1: (scala.slick.driver.JdbcDriver.simple)#BaseColumnType[Second])

    Auxiliary constructor without schema name.

    Auxiliary constructor without schema name.

    tableName

    name of table

  2. new JunctionTable(tag: (scala.slick.driver.JdbcDriver.simple)#Tag, schemaName: Option[String], tableName: String)(implicit arg0: (scala.slick.driver.JdbcDriver.simple)#BaseColumnType[First], arg1: (scala.slick.driver.JdbcDriver.simple)#BaseColumnType[Second])

    schemaName

    name of schema (optional)

    tableName

    name of the table

Type Members

  1. final type TableElementType = (First, Second)

    Definition Classes
    Table → AbstractTable

Abstract Value Members

  1. abstract def columns: ((scala.slick.driver.JdbcDriver.simple)#Column[First], (scala.slick.driver.JdbcDriver.simple)#Column[Second])

    instead of def * = colA ~ colB write def columns = colA -> colB

    instead of def * = colA ~ colB write def columns = colA -> colB

    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 *: ProvenShape[(First, Second)]

    Definition Classes
    JunctionTable → AbstractTable
  5. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  7. val O: scala.slick.driver.JdbcDriver.columnOptions.type

    Definition Classes
    Table
  8. final val aMapper: (scala.slick.driver.JdbcDriver.simple)#BaseColumnType[First]

    Type mapper for A type

  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. final val bMapper: (scala.slick.driver.JdbcDriver.simple)#BaseColumnType[Second]

    Type mapper for B type

  11. def clone(): AnyRef

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

    Attributes
    protected[this]
    Definition Classes
    AbstractTable
  13. def column[C](n: String, options: ColumnOption[C]*)(implicit tm: TypedType[C]): Column[C]

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

    Definition Classes
    AbstractTable
  15. def encodeRef(path: List[Symbol]): AbstractTable[(First, Second)]

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

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

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

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

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

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

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

    Definition Classes
    AnyRef → Any
  23. def index[T](name: String, on: T, unique: Boolean)(implicit shape: Shape[_ <: Flat, T, _, _]): Index

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

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

    Definition Classes
    Any
  26. final def ne(arg0: AnyRef): Boolean

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

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

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

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

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

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

    Definition Classes
    AbstractTable
  33. def tableIdentitySymbol: TableIdentitySymbol

    Definition Classes
    Table → AbstractTable
  34. lazy val tableNode: TableNode

    Definition Classes
    AbstractTable
  35. def tableProvider: RelationalDriver

    Definition Classes
    Table
  36. val tableTag: Tag

    Definition Classes
    AbstractTable
  37. def toNode: Node

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

    Definition Classes
    AnyRef → Any
  39. final def uniqueValues: Index

  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( ... )

Inherited from scala.slick.driver.JdbcDriver.Table[(First, Second)]

Inherited from AbstractTable[(First, Second)]

Inherited from ColumnBase[(First, Second)]

Inherited from Rep[(First, Second)]

Inherited from AnyRef

Inherited from Any

Ungrouped