class Table extends Relation
Relational table
- Alphabetic
- By Inheritance
- Table
- Relation
- DbObject
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- 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
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val baseType: BaseType
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- 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
- 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
- lazy val columnMap: Map[String, Column]
Map of column name to column objects
- val columnRefs: List[ColRef]
List of associated column references (column names)
- val columns: List[Column]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- val foreignKeys: List[ForeignKey]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- lazy val keyCols: List[Column]
List of primary key columns
- val keyOpt: Option[PrimaryKey]
- val name: String
Name of this object
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def targets(schema: Schema): List[TableId]
List of tables referenced by foreign keys in this table
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])