Package org.flywaydb.database.sqlserver
Enum Class SQLServerSchema.ObjectType
java.lang.Object
java.lang.Enum<SQLServerSchema.ObjectType>
org.flywaydb.database.sqlserver.SQLServerSchema.ObjectType
- All Implemented Interfaces:
Serializable
,Comparable<SQLServerSchema.ObjectType>
,Constable
- Enclosing class:
- SQLServerSchema
SQL Server object types for which we support automatic clean-up. These types can be used in conjunction with the
sys.objects
catalog. The full list of object types is available in the
MSDN documentation
(see the type
column description.)-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAggregate function (CLR).Assembly (CLR) DML trigger.CHECK constraint.Assembly (CLR) scalar-function.Assembly (CLR) stored-procedure.Assembly (CLR) table-valued function.DEFAULT constraint.FOREIGN KEY constraint.In-lined table-function.PRIMARY KEY constraint.Rule (old-style, stand-alone).Scalar function.Sequence object.SQL DML trigger.Stored procedure.Synonym.Table-valued function.Unique Constraint.User table.View. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic SQLServerSchema.ObjectType
Returns the enum constant of this class with the specified name.static SQLServerSchema.ObjectType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
AGGREGATE
Aggregate function (CLR). -
CHECK_CONSTRAINT
CHECK constraint. -
DEFAULT_CONSTRAINT
DEFAULT constraint. -
PRIMARY_KEY
PRIMARY KEY constraint. -
FOREIGN_KEY
FOREIGN KEY constraint. -
INLINED_TABLE_FUNCTION
In-lined table-function. -
SCALAR_FUNCTION
Scalar function. -
CLR_SCALAR_FUNCTION
Assembly (CLR) scalar-function. -
CLR_TABLE_VALUED_FUNCTION
Assembly (CLR) table-valued function. -
STORED_PROCEDURE
Stored procedure. -
CLR_STORED_PROCEDURE
Assembly (CLR) stored-procedure. -
RULE
Rule (old-style, stand-alone). -
SYNONYM
Synonym. -
TABLE_VALUED_FUNCTION
Table-valued function. -
ASSEMBLY_DML_TRIGGER
Assembly (CLR) DML trigger. -
SQL_DML_TRIGGER
SQL DML trigger. -
UNIQUE_CONSTRAINT
Unique Constraint. -
USER_TABLE
User table. -
VIEW
View. -
SEQUENCE_OBJECT
Sequence object.
-
-
Field Details
-
code
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-