Enum OracleSchema.ObjectType
- java.lang.Object
-
- java.lang.Enum<OracleSchema.ObjectType>
-
- migratedb.v1.core.internal.database.oracle.OracleSchema.ObjectType
-
- All Implemented Interfaces:
Serializable,Comparable<OracleSchema.ObjectType>
- Enclosing class:
- OracleSchema
public static enum OracleSchema.ObjectType extends Enum<OracleSchema.ObjectType>
Oracle object types.
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()List<String>getObjectNames(JdbcTemplate jdbcTemplate, OracleDatabase database, OracleSchema schema)Returns the list of object names of this type.static Set<String>getObjectTypeNames(JdbcTemplate jdbcTemplate, OracleDatabase database, OracleSchema schema)Returns the schema's existing object types.static booleansupportedTypesExist(JdbcTemplate jdbcTemplate, OracleDatabase database, OracleSchema schema)Checks whether the specified schema contains object types that can be cleaned.StringtoString()static OracleSchema.ObjectTypevalueOf(String name)Returns the enum constant of this type with the specified name.static OracleSchema.ObjectType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TABLE
public static final OracleSchema.ObjectType TABLE
-
QUEUE_TABLE
public static final OracleSchema.ObjectType QUEUE_TABLE
-
MATERIALIZED_VIEW_LOG
public static final OracleSchema.ObjectType MATERIALIZED_VIEW_LOG
-
INDEX
public static final OracleSchema.ObjectType INDEX
-
DOMAIN_INDEX
public static final OracleSchema.ObjectType DOMAIN_INDEX
-
DOMAIN_INDEX_TYPE
public static final OracleSchema.ObjectType DOMAIN_INDEX_TYPE
-
OPERATOR
public static final OracleSchema.ObjectType OPERATOR
-
CLUSTER
public static final OracleSchema.ObjectType CLUSTER
-
VIEW
public static final OracleSchema.ObjectType VIEW
-
MATERIALIZED_VIEW
public static final OracleSchema.ObjectType MATERIALIZED_VIEW
-
DIMENSION
public static final OracleSchema.ObjectType DIMENSION
-
SYNONYM
public static final OracleSchema.ObjectType SYNONYM
-
SEQUENCE
public static final OracleSchema.ObjectType SEQUENCE
-
PROCEDURE
public static final OracleSchema.ObjectType PROCEDURE
-
FUNCTION
public static final OracleSchema.ObjectType FUNCTION
-
PACKAGE
public static final OracleSchema.ObjectType PACKAGE
-
CONTEXT
public static final OracleSchema.ObjectType CONTEXT
-
TRIGGER
public static final OracleSchema.ObjectType TRIGGER
-
TYPE
public static final OracleSchema.ObjectType TYPE
-
JAVA_SOURCE
public static final OracleSchema.ObjectType JAVA_SOURCE
-
JAVA_CLASS
public static final OracleSchema.ObjectType JAVA_CLASS
-
JAVA_RESOURCE
public static final OracleSchema.ObjectType JAVA_RESOURCE
-
LIBRARY
public static final OracleSchema.ObjectType LIBRARY
-
XML_SCHEMA
public static final OracleSchema.ObjectType XML_SCHEMA
-
REWRITE_EQUIVALENCE
public static final OracleSchema.ObjectType REWRITE_EQUIVALENCE
-
SQL_TRANSLATION_PROFILE
public static final OracleSchema.ObjectType SQL_TRANSLATION_PROFILE
-
MINING_MODEL
public static final OracleSchema.ObjectType MINING_MODEL
-
SCHEDULER_JOB
public static final OracleSchema.ObjectType SCHEDULER_JOB
-
SCHEDULER_PROGRAM
public static final OracleSchema.ObjectType SCHEDULER_PROGRAM
-
SCHEDULE
public static final OracleSchema.ObjectType SCHEDULE
-
SCHEDULER_CHAIN
public static final OracleSchema.ObjectType SCHEDULER_CHAIN
-
FILE_WATCHER
public static final OracleSchema.ObjectType FILE_WATCHER
-
RULE_SET
public static final OracleSchema.ObjectType RULE_SET
-
RULE
public static final OracleSchema.ObjectType RULE
-
EVALUATION_CONTEXT
public static final OracleSchema.ObjectType EVALUATION_CONTEXT
-
FILE_GROUP
public static final OracleSchema.ObjectType FILE_GROUP
-
-
Method Detail
-
values
public static OracleSchema.ObjectType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (OracleSchema.ObjectType c : OracleSchema.ObjectType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OracleSchema.ObjectType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
getName
public String getName()
-
toString
public String toString()
- Overrides:
toStringin classEnum<OracleSchema.ObjectType>
-
getObjectNames
public List<String> getObjectNames(JdbcTemplate jdbcTemplate, OracleDatabase database, OracleSchema schema) throws SQLException
Returns the list of object names of this type.- Throws:
SQLException- if retrieving of objects failed.
-
getObjectTypeNames
public static Set<String> getObjectTypeNames(JdbcTemplate jdbcTemplate, OracleDatabase database, OracleSchema schema) throws SQLException
Returns the schema's existing object types.- Returns:
- a set of object type names.
- Throws:
SQLException- if retrieving of object types failed.
-
supportedTypesExist
public static boolean supportedTypesExist(JdbcTemplate jdbcTemplate, OracleDatabase database, OracleSchema schema) throws SQLException
Checks whether the specified schema contains object types that can be cleaned.- Returns:
trueif it contains,falseif not.- Throws:
SQLException- if retrieving of object types failed.
-
-