Packages

p

com.scleradb.sql

datatypes

package datatypes

Type Members

  1. case class Column(name: String, sqlType: SqlType, familyOpt: Option[String] = None) extends Product with Serializable

    Table column

    Table column

    name

    Name of the column

    sqlType

    SQL type of the column

    familyOpt

    The family of the column (optional, defined if supported by the underlying platform)

  2. case class ForeignKey(cols: List[ColRef], refTableLocIdOpt: Option[LocationId], refTableName: String, refCols: List[ColRef] = Nil) extends TableConstraint with Product with Serializable

    Foreign key reference constraint

    Foreign key reference constraint

    cols

    List of columns forming the foreign key

    refTableLocIdOpt

    Location id of the referenced table, if available

    refTableName

    Name of the referenced table, if available

    refCols

    Columns of the table referenced

  3. case class PrimaryKey(cols: List[ColRef]) extends TableConstraint with Product with Serializable

    Primary key constraint

    Primary key constraint

    cols

    List of columns forming the primary key

  4. sealed abstract class TableConstraint extends AnyRef

    Abstract base class for all table constraints

Ungrouped