com.imageworks.migration

TableDefinition

class TableDefinition extends AnyRef

A builder to define a table. Its methods add the specified type of column to the table's definition.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. TableDefinition
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TableDefinition(adapter: DatabaseAdapter, table_name: String)

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 ==(arg0: AnyRef): Boolean

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

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

    Definition Classes
    Any
  7. final def bigint(name: String, options: ColumnOption*): TableDefinition

    Add a BIGINT column type to the table.

    Add a BIGINT column type to the table. The actual SQL text used to create the column is chosen by the database adapter and may be different than the name of the column_type argument.

    name

    the column's name

    returns

    the same instance

  8. final def blob(name: String, options: ColumnOption*): TableDefinition

    Add a BLOB column type to the table.

    Add a BLOB column type to the table. The actual SQL text used to create the column is chosen by the database adapter and may be different than the name of the column_type argument.

    name

    the column's name

    returns

    the same instance

  9. final def boolean(name: String, options: ColumnOption*): TableDefinition

    Add a BOOLEAN column type to the table.

    Add a BOOLEAN column type to the table. The actual SQL text used to create the column is chosen by the database adapter and may be different than the name of the column_type argument.

    name

    the column's name

    returns

    the same instance

  10. final def char(name: String, options: ColumnOption*): TableDefinition

    Add a CHAR column type to the table.

    Add a CHAR column type to the table. The actual SQL text used to create the column is chosen by the database adapter and may be different than the name of the column_type argument.

    name

    the column's name

    returns

    the same instance

  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  12. final def column(name: String, column_type: SqlType, options: ColumnOption*): TableDefinition

    Add any known column type to the table.

    Add any known column type to the table. The actual SQL text used to create the column is chosen by the database adapter and may be different than the name of the column_type argument.

    name

    the column's name

    column_type

    the type of column being added

    returns

    the same instance

  13. final def decimal(name: String, options: ColumnOption*): TableDefinition

    Add a DECIMAL column type to the table.

    Add a DECIMAL column type to the table. The actual SQL text used to create the column is chosen by the database adapter and may be different than the name of the column_type argument.

    name

    the column's name

    returns

    the same instance

  14. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  17. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
  19. final def integer(name: String, options: ColumnOption*): TableDefinition

    Add a INTEGER column type to the table.

    Add a INTEGER column type to the table. The actual SQL text used to create the column is chosen by the database adapter and may be different than the name of the column_type argument.

    name

    the column's name

    returns

    the same instance

  20. final def isInstanceOf[T0]: Boolean

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

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

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

    Definition Classes
    AnyRef
  24. final def smallint(name: String, options: ColumnOption*): TableDefinition

    Add a SMALLINT column type to the table.

    Add a SMALLINT column type to the table. The actual SQL text used to create the column is chosen by the database adapter and may be different than the name of the column_type argument.

    name

    the column's name

    returns

    the same instance

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

    Definition Classes
    AnyRef
  26. final def timestamp(name: String, options: ColumnOption*): TableDefinition

    Add a TIMESTAMP column type to the table.

    Add a TIMESTAMP column type to the table. The actual SQL text used to create the column is chosen by the database adapter and may be different than the name of the column_type argument.

    name

    the column's name

    returns

    the same instance

  27. final def toSql: String

    Generate a SQL string representation of the columns in the table.

    Generate a SQL string representation of the columns in the table.

    returns

    the SQL text that defines the columns in the table

  28. def toString(): String

    Definition Classes
    AnyRef → Any
  29. final def varbinary(name: String, options: ColumnOption*): TableDefinition

    Add a VARBINARY column type to the table.

    Add a VARBINARY column type to the table. The actual SQL text used to create the column is chosen by the database adapter and may be different than the name of the column_type argument.

    name

    the column's name

    returns

    the same instance

  30. final def varchar(name: String, options: ColumnOption*): TableDefinition

    Add a VARCHAR column type to the table.

    Add a VARCHAR column type to the table. The actual SQL text used to create the column is chosen by the database adapter and may be different than the name of the column_type argument.

    name

    the column's name

    returns

    the same instance

  31. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any

Ungrouped