com.imageworks.migration

DerbyDatabaseAdapter

class DerbyDatabaseAdapter extends DatabaseAdapter

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

Instance Constructors

  1. new DerbyDatabaseAdapter(schemaNameOpt: Option[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. val addingForeignKeyConstraintCreatesIndex: Boolean

    This value is true if the database implicitly adds an index on the column that has a foreign key constraint added to it.

    This value is true if the database implicitly adds an index on the column that has a foreign key constraint added to it.

    The following SQL can be used to test the database. The last statement will fail with a message that there already is an index on the column.

    CREATE TABLE parent (pk INT PRIMARY KEY); CREATE TABLE child (pk INT PRIMARY KEY, pk_parent INT NOT NULL); ALTER TABLE child ADD CONSTRAINT idx_child_pk_parent FOREIGN KEY (pk_parent) REFERENCES parent (pk); CREATE INDEX idx_child_pk_parent ON child (pk_parent);

    Definition Classes
    DerbyDatabaseAdapterDatabaseAdapter
  7. def alterColumnSql(schema_name_opt: Option[String], column_definition: ColumnDefinition): String

    Attributes
    protected
    Definition Classes
    DerbyDatabaseAdapterDatabaseAdapter
  8. def alterColumnSql(table_name: String, column_name: String, column_type: SqlType, options: ColumnOption*): String

    Different databases require different SQL to alter a column's definition.

    Different databases require different SQL to alter a column's definition. Uses the schema_name_opt defined in the adapter.

    table_name

    the name of the table with the column

    column_name

    the name of the column

    column_type

    the type the column is being altered to

    returns

    the SQL to alter the column

    Definition Classes
    DatabaseAdapter
  9. def alterColumnSql(schema_name_opt: Option[String], table_name: String, column_name: String, column_type: SqlType, options: ColumnOption*): String

    Different databases require different SQL to alter a column's definition.

    Different databases require different SQL to alter a column's definition.

    schema_name_opt

    the optional schema name to qualify the table name

    table_name

    the name of the table with the column

    column_name

    the name of the column

    column_type

    the type the column is being altered to

    returns

    the SQL to alter the column

    Definition Classes
    DatabaseAdapter
  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  12. def columnDefinitionFactory(column_type: SqlType, character_set_opt: Option[CharacterSet]): ColumnDefinition

    Concrete subclasses must define this method that returns a newly constructed, but uninitialized, concrete ColumnDefinition subclass for the given SQL data type and optional CharacterSet.

    Concrete subclasses must define this method that returns a newly constructed, but uninitialized, concrete ColumnDefinition subclass for the given SQL data type and optional CharacterSet.

    column_type

    the column's data type

    character_set_opt

    an optional CharacterSet

    returns

    a newly constructed but uninitialized ColumnDefinition for the column_type

    Definition Classes
    DerbyDatabaseAdapterDatabaseAdapter
  13. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  16. def generateCheckConstraintName(on: On, options: CheckOption*): (String, List[CheckOption])

    Given a check constraint, create a name for it, using a Name() if it is provided in the options.

    Given a check constraint, create a name for it, using a Name() if it is provided in the options.

    on

    the table and columns the check constraint is on

    options

    a varargs list of CheckOptions

    returns

    a Tuple2 with the calculated name or the overridden name from a Name and the remaining options

    Definition Classes
    DatabaseAdapter
  17. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  18. def grantSql(table_name: String, grantees: Array[String], privileges: GrantPrivilegeType*): String

    Different databases have different limitations on the GRANT statement.

    Different databases have different limitations on the GRANT statement. Uses the schema_name_opt defined in the adapter.

    table_name

    the name of the table with the index

    grantees

    one or more objects to grant the new permissions to.

    privileges

    one or more GrantPrivilegeType objects describing the types of permissions to grant.

    returns

    the SQL to grant permissions

    Definition Classes
    DatabaseAdapter
  19. def grantSql(schema_name_opt: Option[String], table_name: String, grantees: Array[String], privileges: GrantPrivilegeType*): String

    Different databases have different limitations on the GRANT statement.

    Different databases have different limitations on the GRANT statement.

    schema_name_opt

    the optional schema name to qualify the table name

    table_name

    the name of the table with the index

    grantees

    one or more objects to grant the new permissions to.

    privileges

    one or more GrantPrivilegeType objects describing the types of permissions to grant.

    returns

    the SQL to grant permissions

    Definition Classes
    DatabaseAdapter
  20. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  21. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  22. def lockTableSql(table_name: String): String

    Different databases require different SQL to lock a table.

    Different databases require different SQL to lock a table.

    table_name

    the name of the table to lock

    returns

    the SQL to lock the table

    Definition Classes
    DatabaseAdapter
  23. def lockTableSql(schema_name_opt: Option[String], table_name: String): String

    Different databases require different SQL to lock a table.

    Different databases require different SQL to lock a table.

    schema_name_opt

    the optional schema name to qualify the table name

    table_name

    the name of the table to lock

    returns

    the SQL to lock the table

    Definition Classes
    DatabaseAdapter
  24. final val logger: Logger

    Attributes
    protected
    Definition Classes
    DatabaseAdapter
  25. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  26. def newColumnDefinition(table_name: String, column_name: String, column_type: SqlType, options: ColumnOption*): ColumnDefinition

    Given a table name, column name and column data type, return a newly constructed and fully initialized ColumnDefinition.

    Given a table name, column name and column data type, return a newly constructed and fully initialized ColumnDefinition. The class of the returned ColumnDefinition only depends upon the input column data type.

    table_name

    the name of the table the column is in

    column_name

    the column's name

    column_type

    the data type of the column

    options

    a list of column options customizing the column

    returns

    a new ColumnDefinition

    Definition Classes
    DatabaseAdapter
  27. final def notify(): Unit

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

    Definition Classes
    AnyRef
  29. def onDeleteSql(on_delete_opt: Option[OnDelete]): String

    Return the SQL text in a foreign key relationship for an optional ON DELETE clause.

    Return the SQL text in a foreign key relationship for an optional ON DELETE clause.

    on_delete_opt

    an Option[OnDelete]

    Definition Classes
    DatabaseAdapter
  30. def onUpdateSql(on_update_opt: Option[OnUpdate]): String

    Return the SQL text in a foreign key relationship for an optional ON UPDATE clause.

    Return the SQL text in a foreign key relationship for an optional ON UPDATE clause.

    on_update_opt

    an Option[OnUpdate]

    Definition Classes
    DatabaseAdapter
  31. def quoteColumnName(column_name: String): String

    Definition Classes
    DatabaseAdapter
  32. def quoteTableName(table_name: String): String

    Definition Classes
    DatabaseAdapter
  33. def quoteTableName(schema_name_opt: Option[String], table_name: String): String

    Definition Classes
    DatabaseAdapter
  34. def removeColumnSql(table_name: String, column_name: String): String

    Different databases require different SQL to drop a column.

    Different databases require different SQL to drop a column. Uses the schema_name_opt defined in the adapter.

    table_name

    the name of the table with the column

    column_name

    the name of the column

    returns

    the SQL to drop the column

    Definition Classes
    DatabaseAdapter
  35. def removeColumnSql(schema_name_opt: Option[String], table_name: String, column_name: String): String

    Different databases require different SQL to drop a column.

    Different databases require different SQL to drop a column.

    schema_name_opt

    the optional schema name to qualify the table name

    table_name

    the name of the table with the column

    column_name

    the name of the column

    returns

    the SQL to drop the column

    Definition Classes
    DatabaseAdapter
  36. def removeIndexSql(table_name: String, index_name: String): String

    Different databases require different SQL to drop an index.

    Different databases require different SQL to drop an index. Uses the schema_name_opt defined in the adapter.

    table_name

    the name of the table with the index

    index_name

    the name of the index

    returns

    the SQL to drop the index

    Definition Classes
    DatabaseAdapter
  37. def removeIndexSql(schema_name_opt: Option[String], table_name: String, index_name: String): String

    Different databases require different SQL to drop an index.

    Different databases require different SQL to drop an index.

    schema_name_opt

    the optional schema name to qualify the table name

    table_name

    the name of the table with the index

    index_name

    the name of the index

    returns

    the SQL to drop the index

    Definition Classes
    DatabaseAdapter
  38. def revokeSql(table_name: String, grantees: Array[String], privileges: GrantPrivilegeType*): String

    Different databases have different limitations on the REVOKE statement.

    Different databases have different limitations on the REVOKE statement. Uses the schema_name_opt defined in the adapter.

    table_name

    the name of the table with the index

    grantees

    one or more objects to grant the new permissions to.

    privileges

    one or more GrantPrivilegeType objects describing the types of permissions to grant.

    returns

    the SQL to grant permissions

    Definition Classes
    DatabaseAdapter
  39. def revokeSql(schema_name_opt: Option[String], table_name: String, grantees: Array[String], privileges: GrantPrivilegeType*): String

    Different databases have different limitations on the REVOKE statement.

    Different databases have different limitations on the REVOKE statement.

    schema_name_opt

    the optional schema name to qualify the table name

    table_name

    the name of the table with the index

    grantees

    one or more objects to grant the new permissions to.

    privileges

    one or more GrantPrivilegeType objects describing the types of permissions to grant.

    returns

    the SQL to grant permissions

    Definition Classes
    DatabaseAdapter
  40. val schemaNameOpt: Option[String]

    Definition Classes
    DerbyDatabaseAdapterDatabaseAdapter
  41. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  42. def toString(): String

    Definition Classes
    AnyRef → Any
  43. val unquotedNameConverter: UppercaseUnquotedNameConverter.type

    To properly quote table names the database adapter needs to know how the database treats unquoted names.

    To properly quote table names the database adapter needs to know how the database treats unquoted names.

    Definition Classes
    DerbyDatabaseAdapterDatabaseAdapter
  44. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from DatabaseAdapter

Inherited from AnyRef

Inherited from Any

Ungrouped