com.imageworks

migration

package migration

Visibility
  1. Public
  2. All

Type Members

  1. abstract class AbstractDecimalColumnDefinition extends ColumnDefinition with ColumnSupportsDefault with ColumnSupportsPrecision with ColumnSupportsScale

    This class is an abstract class to handle DECIMAL and NUMERIC column types.

  2. case class CharacterSet(name: CharacterSetName) extends ColumnOption with Product with Serializable

    The base trait for all character set definitions.

  3. sealed trait CharacterSetName extends AnyRef

    The base trait for all character set names.

  4. case class Check(expr: String) extends ColumnOption with Product with Serializable

    Specify a check constraint on a column.

  5. sealed trait CheckOption extends AnyRef

    The base trait for all check options.

  6. abstract class ColumnDefinition extends AnyRef

    Abstract base class for the definition of a column type.

  7. trait ColumnOption extends AnyRef

    The base trait for all column options.

  8. trait ColumnSupportsDefault extends AnyRef

    Marker trait for a ColumnDefinition subclass that the column type supports a default value.

  9. trait ColumnSupportsLimit extends AnyRef

    Marker trait for a ColumnDefinition subclass that the column type supports a limit on the range of values it supports, e.

  10. trait ColumnSupportsPrecision extends AnyRef

    Marker trait for a ColumnDefinition subclass that the column type supports a precision on numerical values it stores, e.

  11. trait ColumnSupportsScale extends AnyRef

    Marker trait for a ColumnDefinition subclass that the column type supports a precision on numerical values it stores, e.

  12. class ConnectionBuilder extends AnyRef

    Adapter class for getting a Connection from either the DriverManager or a DataSource.

  13. abstract class DatabaseAdapter extends AnyRef

    Base class for classes to customize SQL generation for specific database drivers.

  14. case class Default(value: String) extends ColumnOption with Product with Serializable

    A default value for a column.

  15. class DefaultBigintColumnDefinition extends ColumnDefinition with ColumnSupportsDefault

  16. class DefaultBlobColumnDefinition extends ColumnDefinition

  17. class DefaultBooleanColumnDefinition extends ColumnDefinition with ColumnSupportsDefault

  18. class DefaultCharColumnDefinition extends ColumnDefinition with ColumnSupportsLimit with ColumnSupportsDefault

  19. class DefaultDecimalColumnDefinition extends AbstractDecimalColumnDefinition

  20. class DefaultIntegerColumnDefinition extends ColumnDefinition with ColumnSupportsDefault

  21. class DefaultSmallintColumnDefinition extends ColumnDefinition with ColumnSupportsDefault

  22. class DefaultTimestampColumnDefinition extends ColumnDefinition with ColumnSupportsLimit with ColumnSupportsDefault

  23. class DefaultVarcharColumnDefinition extends ColumnDefinition with ColumnSupportsLimit with ColumnSupportsDefault

  24. class DerbyDatabaseAdapter extends DatabaseAdapter

  25. class DerbyTimestampColumnDefinition extends ColumnDefinition with ColumnSupportsDefault

  26. class DerbyVarbinaryColumnDefinition extends ColumnDefinition with ColumnSupportsDefault with ColumnSupportsLimit

  27. class DuplicateMigrationDescriptionException extends MigrationException

  28. class DuplicateMigrationVersionException extends MigrationException

  29. sealed trait ForeignKeyConstraintAction extends AnyRef

    The base trait for all foreign key actions upon delete or update.

  30. sealed trait ForeignKeyOption extends AnyRef

    The base trait for all foreign key options.

  31. sealed trait GrantPrivilegeType extends AnyRef

    The base trait for all grant privilege types.

  32. sealed trait IndexOption extends AnyRef

    The base trait for all index options.

  33. class IrreversibleMigrationException extends MigrationException

  34. class JavaMigrator extends AnyRef

    The Scala Migrator class uses Scala case classes in its public constructors and public methods which makes it difficult to use from a pure Java environment.

  35. case class Limit(expr: String) extends ColumnOption with Product with Serializable

    A limit on the size of a column type.

  36. case class MigrateToVersion(version: Long) extends MigratorOperation with Product with Serializable

    Remove all migrations with versions greater than the given version and install all migrations less then or equal to the given version.

  37. abstract class Migration extends AnyRef

  38. class MigrationArrowAssoc extends AnyRef

    Due to the JVM erasure, the scala.

  39. sealed abstract class MigrationDirection extends AnyRef

    Sealed abstract class that defines the direction to run a migration.

  40. class MigrationException extends Exception

  41. case class MigrationStatuses(not_installed: SortedMap[Long, Class[_ <: Migration]], installed_with_available_implementation: SortedMap[Long, Class[_ <: Migration]], installed_without_available_implementation: SortedSet[Long]) extends Product with Serializable

    Container for the state of all the available and installed migrations.

  42. class Migrator extends AnyRef

    This class migrates the database into the desired state.

  43. sealed abstract class MigratorOperation extends AnyRef

    The set of migrator operations that can be performed.

  44. class MissingMigrationClass extends MigrationException

  45. case class Name(name: String) extends CheckOption with ForeignKeyOption with IndexOption with Product with Serializable

    A name overriding the default index or foreign key constraint name generated by Migration.

  46. case class NamedCheck(name: String, expr: String) extends ColumnOption with Product with Serializable

    Specify a named check constraint on a column.

  47. class On extends AnyRef

    A container class for storing the table and column names a foreign key reference is on.

  48. case class OnDelete(action: ForeignKeyConstraintAction) extends ForeignKeyOption with Product with Serializable

    Specify the action that occurs when a value referenced in a foreign key constraint is deleted.

  49. case class OnUpdate(action: ForeignKeyConstraintAction) extends ForeignKeyOption with Product with Serializable

    Specify the action that occurs when a value referenced in a foreign key constraint is updated.

  50. class OracleBigintColumnDefinition extends ColumnDefinition with ColumnSupportsDefault

    Map the BIGINT SQL type to a NUMBER(19, 0).

  51. class OracleCharColumnDefinition extends ColumnDefinition with ColumnSupportsDefault with ColumnSupportsLimit

  52. class OracleDatabaseAdapter extends DatabaseAdapter

  53. class OracleDecimalColumnDefinition extends AbstractDecimalColumnDefinition

  54. class OracleIntegerColumnDefinition extends ColumnDefinition with ColumnSupportsDefault

    Map the INTEGER SQL type to a NUMBER(10, 0).

  55. class OracleSmallintColumnDefinition extends ColumnDefinition with ColumnSupportsDefault

    Map the SMALLINT SQL type to a NUMBER(5, 0).

  56. class OracleVarbinaryColumnDefinition extends ColumnDefinition with ColumnSupportsDefault with ColumnSupportsLimit

  57. class OracleVarcharColumnDefinition extends ColumnDefinition with ColumnSupportsDefault with ColumnSupportsLimit

  58. class PostgresqlByteaColumnDefinition extends ColumnDefinition

  59. class PostgresqlDatabaseAdapter extends DatabaseAdapter

  60. case class Precision(value: Int) extends ColumnOption with Product with Serializable

    Specify the precision for a DECIMAL column.

  61. abstract class PrivilegeWithColumns extends GrantPrivilegeType

    A base class for all privileges that take a list of columns to affect.

  62. class References extends AnyRef

    A container class for storing the table and column names a foreign key reference references.

  63. case class ReferencesPrivilege(columns: Seq[String]) extends PrivilegeWithColumns with Product with Serializable

    Maps to GRANT REFERENCES.

  64. class RichConnection extends AnyRef

    A rich Connection class that provides a withPreparedStatement() method.

  65. case class RollbackMigration(count: Int) extends MigratorOperation with Product with Serializable

    Rollback 'count' migrations in the database.

  66. case class Scale(value: Int) extends ColumnOption with Product with Serializable

    Specify the scale for a DECIMAL column.

  67. case class SelectPrivilege(columns: Seq[String]) extends PrivilegeWithColumns with Product with Serializable

    Maps to GRANT SELECT.

  68. sealed abstract class SqlType extends AnyRef

    Sealed abstract base class for the case objects that represent the supported SQL types.

  69. class TableColumnDefinition extends AnyRef

    A Tuple2 like class for containing a table name and a list of column names.

  70. class TableDefinition extends AnyRef

    A builder to define a table.

  71. sealed trait TableOption extends AnyRef

    The base trait for all table options.

  72. sealed trait UnquotedNameConverter extends AnyRef

    Sealed trait that specifies how the database treats unquoted names and has a method that performs the same conversion.

  73. class UnsupportedColumnTypeException extends MigrationException

  74. case class UpdatePrivilege(columns: Seq[String]) extends PrivilegeWithColumns with Product with Serializable

    Maps to GRANT UPDATE.

  75. sealed trait Vendor extends AnyRef

    Base sealed trait for the objects that refer to different databases.

Value Members

  1. object AllPrivileges extends GrantPrivilegeType with Product with Serializable

    Maps to GRANT ALL PRIVILEGES.

  2. object BigintType extends SqlType with Product with Serializable

  3. object BlobType extends SqlType with Product with Serializable

  4. object BooleanType extends SqlType with Product with Serializable

  5. object Cascade extends ForeignKeyConstraintAction with Product with Serializable

    Delete any rows in the referencing table that refer to rows deleted in the referenced table, or update the row's value to the new value in the referenced row if it was updated.

  6. object CasePreservingUnquotedNameConverter extends UnquotedNameConverter with Product with Serializable

    The database does not modify the case of unquoted names.

  7. object CharType extends SqlType with Product with Serializable

  8. object DatabaseAdapter

  9. object DecimalType extends SqlType with Product with Serializable

  10. object Default extends Serializable

    Default companion object allowing Defaults to be constructed with integer values.

  11. object DeletePrivilege extends GrantPrivilegeType with Product with Serializable

    Maps to GRANT DELETE.

  12. object Derby extends Vendor with Product with Serializable

  13. object Down extends MigrationDirection with Product with Serializable

    Case object used to indicate that a migration should be removed.

  14. object InsertPrivilege extends GrantPrivilegeType with Product with Serializable

    Maps to GRANT INSERT.

  15. object InstallAllMigrations extends MigratorOperation with Product with Serializable

    Install all available migrations.

  16. object IntegerType extends SqlType with Product with Serializable

  17. object JavaDatabaseAdapter

    The Scala Database Adapter classes uses Scala case classes in their public constructors and public methods which makes it difficult to use from a pure Java environment.

  18. object Limit extends Serializable

    Limit companion object allowing Limits to be constructed with integer values.

  19. object LowercaseUnquotedNameConverter extends UnquotedNameConverter with Product with Serializable

    Unquoted names are implicitly converted into their lowercase variant.

  20. object Migrator

  21. object NoAction extends ForeignKeyConstraintAction with Product with Serializable

    Generate an error that updating or deleting the row would cause a foreign key constraint violation.

  22. object NotNull extends ColumnOption with Product with Serializable

    Specify that the column's values must not be NULL.

  23. object Nullable extends ColumnOption with Product with Serializable

    Specify that the column's values may be NULL.

  24. object Oracle extends Vendor with Product with Serializable

  25. object Postgresql extends Vendor with Product with Serializable

  26. object PrimaryKey extends ColumnOption with Product with Serializable

    Specify that the column is a primary key.

  27. object PrivilegeWithColumns

    Scala 2.

  28. object ReferencesPrivilege extends GrantPrivilegeType with Product with Serializable

  29. object RemoveAllMigrations extends MigratorOperation with Product with Serializable

    Remove all installed migrations.

  30. object Restrict extends ForeignKeyConstraintAction with Product with Serializable

    Generate an error that updating or deleting the row would cause a foreign key constraint violation.

  31. object RichConnection

  32. object SelectPrivilege extends GrantPrivilegeType with Product with Serializable

  33. object SetDefault extends ForeignKeyConstraintAction with Product with Serializable

    Set any rows in the referencing table to their default value when the referenced rows are deleted or updated.

  34. object SetNull extends ForeignKeyConstraintAction with Product with Serializable

    Set any rows in the referencing table to NULL when the referenced rows are deleted or updated.

  35. object SmallintType extends SqlType with Product with Serializable

  36. object TimestampType extends SqlType with Product with Serializable

  37. object TriggerPrivilege extends GrantPrivilegeType with Product with Serializable

    Maps to GRANT TRIGGER.

  38. object Unicode extends CharacterSetName with Product with Serializable

    The database column should be encoded using Unicode.

  39. object Unique extends ColumnOption with IndexOption with Product with Serializable

    Specify that the index on the requires that all the values indexed are unique.

  40. object Up extends MigrationDirection with Product with Serializable

    Case object used to indicate that a migration should be installed.

  41. object UpdatePrivilege extends GrantPrivilegeType with Product with Serializable

  42. object UppercaseUnquotedNameConverter extends UnquotedNameConverter with Product with Serializable

    Unquoted names are implicitly converted into their uppercase variant.

  43. object VarbinaryType extends SqlType with Product with Serializable

  44. object VarcharType extends SqlType with Product with Serializable

  45. object Vendor

  46. object With

    Utility object that contains functions that ensure a resource is released once it has been used.

Ungrouped