scala.slick.lifted

AbstractTable

abstract class AbstractTable[T] extends ColumnBase[T]

The driver-independent superclass of all table row objects.

T

Row type for this table. Make sure it matches the type of your * projection.

Source
AbstractTable.scala
Linear Supertypes
ColumnBase[T], Rep[T], AnyRef, Any
Known Subclasses
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. AbstractTable
  2. ColumnBase
  3. Rep
  4. AnyRef
  5. Any
Implicitly
  1. by any2stringadd
  2. by any2stringfmt
  3. by any2ArrowAssoc
  4. by any2Ensuring
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AbstractTable(tableTag: Tag, schemaName: Option[String], tableName: String)

Type Members

  1. abstract type TableElementType

    The client-side type of the table as defined by its * projection

Abstract Value Members

  1. abstract def *: ProvenShape[T]

    The * projection of the table used as default for queries and inserts.

    The * projection of the table used as default for queries and inserts. Should include all columns as a tuple, HList or custom shape and optionally map them to a custom entity type using the <> operator. The ProvenShape return type ensures that there is a Shape available for translating between the Column-based type in * and the client-side type without Column in the table's type parameter.

  2. abstract def tableIdentitySymbol: TableIdentitySymbol

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. def +(other: String): String

    Implicit information
    This member is added by an implicit conversion from AbstractTable[T] to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ->[B](y: B): (AbstractTable[T], B)

    Implicit information
    This member is added by an implicit conversion from AbstractTable[T] to ArrowAssoc[AbstractTable[T]] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

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

    Attributes
    protected[this]
  11. def create_*: Iterable[FieldSymbol]

  12. def encodeRef(path: List[ast.Symbol]): AbstractTable[T]

    Encode a reference into this Rep

    Encode a reference into this Rep

    Definition Classes
    AbstractTableRep
  13. def ensuring(cond: (AbstractTable[T]) ⇒ Boolean, msg: ⇒ Any): AbstractTable[T]

    Implicit information
    This member is added by an implicit conversion from AbstractTable[T] to Ensuring[AbstractTable[T]] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: (AbstractTable[T]) ⇒ Boolean): AbstractTable[T]

    Implicit information
    This member is added by an implicit conversion from AbstractTable[T] to Ensuring[AbstractTable[T]] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: Boolean, msg: ⇒ Any): AbstractTable[T]

    Implicit information
    This member is added by an implicit conversion from AbstractTable[T] to Ensuring[AbstractTable[T]] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: Boolean): AbstractTable[T]

    Implicit information
    This member is added by an implicit conversion from AbstractTable[T] to Ensuring[AbstractTable[T]] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. final def eq(arg0: AnyRef): Boolean

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

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

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

    Define a foreign key relationship.

    Define a foreign key relationship.

    name

    The name of the foreign key in the database (only used when you define the database schema with Slick).

    sourceColumns

    A column or a projection of multiple columns from this table defining the source of the foreign key.

    targetTableQuery

    The TableQuery for the target table.

    targetColumns

    A function that maps from the target table to the column (or columns) to which the foreign key points.

    onUpdate

    A ForeignKeyAction, default being NoAction.

    onDelete

    A ForeignKeyAction, default being NoAction.

  21. final def foreignKeys: Iterable[ForeignKey]

  22. def formatted(fmtstr: String): String

    Implicit information
    This member is added by an implicit conversion from AbstractTable[T] to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  23. final def getClass(): Class[_]

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

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

    Define an index or a unique constraint.

  26. def indexes: Iterable[Index]

  27. final def isInstanceOf[T0]: Boolean

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

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

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

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

    Define the primary key for this table.

    Define the primary key for this table. It is usually simpler to use the O.PrimaryKey option on the primary key column but this method allows you to define compound primary keys or give them user-defined names (when defining the database schema with Slick).

  32. final def primaryKeys: Iterable[PrimaryKey]

  33. val schemaName: Option[String]

  34. final def synchronized[T0](arg0: ⇒ T0): T0

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

  36. val tableName: String

  37. lazy val tableNode: TableNode

  38. val tableTag: Tag

  39. def toNode: Node

    Get the Node for this Rep

    Get the Node for this Rep

    Definition Classes
    AbstractTableRep
  40. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. def [B](y: B): (AbstractTable[T], B)

    Implicit information
    This member is added by an implicit conversion from AbstractTable[T] to ArrowAssoc[AbstractTable[T]] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implicit Value Members

  1. val self: Any

    Implicit information
    This member is added by an implicit conversion from AbstractTable[T] to StringAdd performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (abstractTable: StringAdd).self
    Definition Classes
    StringAdd
  2. val self: Any

    Implicit information
    This member is added by an implicit conversion from AbstractTable[T] to StringFormat performed by method any2stringfmt in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (abstractTable: StringFormat).self
    Definition Classes
    StringFormat

Deprecated Value Members

  1. def x: AbstractTable[T]

    Implicit information
    This member is added by an implicit conversion from AbstractTable[T] to ArrowAssoc[AbstractTable[T]] performed by method any2ArrowAssoc in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (abstractTable: ArrowAssoc[AbstractTable[T]]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: AbstractTable[T]

    Implicit information
    This member is added by an implicit conversion from AbstractTable[T] to Ensuring[AbstractTable[T]] performed by method any2Ensuring in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (abstractTable: Ensuring[AbstractTable[T]]).x
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from ColumnBase[T]

Inherited from Rep[T]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from AbstractTable[T] to StringAdd

Inherited by implicit conversion any2stringfmt from AbstractTable[T] to StringFormat

Inherited by implicit conversion any2ArrowAssoc from AbstractTable[T] to ArrowAssoc[AbstractTable[T]]

Inherited by implicit conversion any2Ensuring from AbstractTable[T] to Ensuring[AbstractTable[T]]

Ungrouped