Packages

class Table extends Relation

Relational table

Linear Supertypes
Relation, DbObject, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Table
  2. Relation
  3. DbObject
  4. Serializable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Table(name: String, columns: List[Column], keyOpt: Option[PrimaryKey], foreignKeys: List[ForeignKey], baseType: BaseType)

    name

    Name of the table

    columns

    Columns of the table

    keyOpt

    Primary key of the table (optional)

    foreignKeys

    Foreign keys of the table (optional)

    baseType

    Type of this table structure (base table or view)

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val baseType: BaseType
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  7. def column(colRef: ColRef): Option[Column]

    Returns the column object for the given column ref, if present

    Returns the column object for the given column ref, if present

    returns

    The associated column object, if present in the table's schema

  8. def column(name: String): Option[Column]

    Returns the column object for the given column name, if present

    Returns the column object for the given column name, if present

    name

    Column name

    returns

    The associated column object, if present in the table's schema

  9. lazy val columnMap: Map[String, Column]

    Map of column name to column objects

  10. val columnRefs: List[ColRef]

    List of associated column references (column names)

    List of associated column references (column names)

    Definition Classes
    TableRelation
  11. val columns: List[Column]
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  14. val foreignKeys: List[ForeignKey]
  15. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. lazy val keyCols: List[Column]

    List of primary key columns

  19. val keyOpt: Option[PrimaryKey]
  20. val name: String

    Name of this object

    Name of this object

    Definition Classes
    TableDbObject
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  25. def targets(schema: Schema): List[TableId]

    List of tables referenced by foreign keys in this table

  26. def toString(): String
    Definition Classes
    AnyRef → Any
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Relation

Inherited from DbObject

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped