Package org.apache.derby.catalog
Interface Dependable
-
- All Known Subinterfaces:
Activation,CursorActivation,Dependent,ExecPreparedStatement,PreparedStatement,Provider,StorablePreparedStatement
- All Known Implementing Classes:
AliasDescriptor,BaseActivation,CheckConstraintDescriptor,ColPermsDescriptor,ConglomerateDescriptor,ConstantActionActivation,ConstraintDescriptor,CursorActivation,DefaultDescriptor,FileInfoDescriptor,ForeignKeyConstraintDescriptor,GenericActivationHolder,GenericPreparedStatement,GenericStorablePreparedStatement,KeyConstraintDescriptor,PermDescriptor,PermissionsDescriptor,PrivilegedSQLObject,ReferencedKeyConstraintDescriptor,RoleGrantDescriptor,RoutinePermsDescriptor,SchemaDescriptor,SequenceDescriptor,SPSDescriptor,TableDescriptor,TablePermsDescriptor,TriggerDescriptor,ViewDescriptor
public interface DependableA Dependable is an in-memory representation of an object managed by the Dependency System. There are two kinds of Dependables: Providers and Dependents. Dependents depend on Providers and are responsible for executing compensating logic when their Providers change.The fields represent the known Dependables.
Persistent dependencies (those between database objects) are stored in SYS.SYSDEPENDS.
- See Also:
DependableFinder
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringACTIVATIONstatic java.lang.StringALIASstatic java.lang.StringCOLUMNS_IN_TABLEstatic java.lang.StringCOLUMNS_PERMISSIONstatic java.lang.StringCONGLOMERATEstatic java.lang.StringCONSTRAINTstatic java.lang.StringDEFAULTstatic java.lang.StringFILEstatic java.lang.StringHEAPstatic java.lang.StringINDEXstatic java.lang.StringPERMstatic java.lang.StringPREPARED_STATEMENTstatic java.lang.StringROLE_GRANTstatic java.lang.StringROUTINE_PERMISSIONstatic java.lang.StringSCHEMAstatic java.lang.StringSEQUENCEstatic java.lang.StringSTORED_PREPARED_STATEMENTstatic java.lang.StringTABLEstatic java.lang.StringTABLE_PERMISSIONstatic java.lang.StringTRIGGERstatic java.lang.StringVIEW
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetClassType()Get the unique class id for the Dependable.DependableFindergetDependableFinder()Get an object which can be written to disk and which, when read from disk, will find or reconstruct this in-memory Dependable.UUIDgetObjectID()Get the UUID of this Dependable OBJECT.java.lang.StringgetObjectName()Get the name of this Dependable OBJECT.booleanisPersistent()Return whether or not this Dependable is persistent.
-
-
-
Field Detail
-
ALIAS
static final java.lang.String ALIAS
- See Also:
- Constant Field Values
-
CONGLOMERATE
static final java.lang.String CONGLOMERATE
- See Also:
- Constant Field Values
-
CONSTRAINT
static final java.lang.String CONSTRAINT
- See Also:
- Constant Field Values
-
DEFAULT
static final java.lang.String DEFAULT
- See Also:
- Constant Field Values
-
HEAP
static final java.lang.String HEAP
- See Also:
- Constant Field Values
-
INDEX
static final java.lang.String INDEX
- See Also:
- Constant Field Values
-
PREPARED_STATEMENT
static final java.lang.String PREPARED_STATEMENT
- See Also:
- Constant Field Values
-
ACTIVATION
static final java.lang.String ACTIVATION
- See Also:
- Constant Field Values
-
FILE
static final java.lang.String FILE
- See Also:
- Constant Field Values
-
STORED_PREPARED_STATEMENT
static final java.lang.String STORED_PREPARED_STATEMENT
- See Also:
- Constant Field Values
-
TABLE
static final java.lang.String TABLE
- See Also:
- Constant Field Values
-
COLUMNS_IN_TABLE
static final java.lang.String COLUMNS_IN_TABLE
- See Also:
- Constant Field Values
-
TRIGGER
static final java.lang.String TRIGGER
- See Also:
- Constant Field Values
-
VIEW
static final java.lang.String VIEW
- See Also:
- Constant Field Values
-
SCHEMA
static final java.lang.String SCHEMA
- See Also:
- Constant Field Values
-
TABLE_PERMISSION
static final java.lang.String TABLE_PERMISSION
- See Also:
- Constant Field Values
-
COLUMNS_PERMISSION
static final java.lang.String COLUMNS_PERMISSION
- See Also:
- Constant Field Values
-
ROUTINE_PERMISSION
static final java.lang.String ROUTINE_PERMISSION
- See Also:
- Constant Field Values
-
ROLE_GRANT
static final java.lang.String ROLE_GRANT
- See Also:
- Constant Field Values
-
SEQUENCE
static final java.lang.String SEQUENCE
- See Also:
- Constant Field Values
-
PERM
static final java.lang.String PERM
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDependableFinder
DependableFinder getDependableFinder()
Get an object which can be written to disk and which, when read from disk, will find or reconstruct this in-memory Dependable.- Returns:
- A Finder object that can be written to disk if this is a Persistent Dependable. Null if this is not a persistent dependable.
-
getObjectName
java.lang.String getObjectName()
Get the name of this Dependable OBJECT. This is useful for diagnostic messages.- Returns:
- Name of Dependable OBJECT.
-
getObjectID
UUID getObjectID()
Get the UUID of this Dependable OBJECT.- Returns:
- UUID of this OBJECT.
-
isPersistent
boolean isPersistent()
Return whether or not this Dependable is persistent. Persistent dependencies are stored in SYS.SYSDEPENDS.- Returns:
- true if this Dependable is persistent.
-
getClassType
java.lang.String getClassType()
Get the unique class id for the Dependable. Every Dependable belongs to a class of Dependables.- Returns:
- type of this Dependable.
-
-