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 Dependable
A 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:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
-
Method Summary
Modifier and TypeMethodDescriptionGet the unique class id for the Dependable.Get an object which can be written to disk and which, when read from disk, will find or reconstruct this in-memory Dependable.Get the UUID of this Dependable OBJECT.Get the name of this Dependable OBJECT.boolean
Return whether or not this Dependable is persistent.
-
Field Details
-
ALIAS
- See Also:
-
CONGLOMERATE
- See Also:
-
CONSTRAINT
- See Also:
-
DEFAULT
- See Also:
-
HEAP
- See Also:
-
INDEX
- See Also:
-
PREPARED_STATEMENT
- See Also:
-
ACTIVATION
- See Also:
-
FILE
- See Also:
-
STORED_PREPARED_STATEMENT
- See Also:
-
TABLE
- See Also:
-
COLUMNS_IN_TABLE
- See Also:
-
TRIGGER
- See Also:
-
VIEW
- See Also:
-
SCHEMA
- See Also:
-
TABLE_PERMISSION
- See Also:
-
COLUMNS_PERMISSION
- See Also:
-
ROUTINE_PERMISSION
- See Also:
-
ROLE_GRANT
- See Also:
-
SEQUENCE
- See Also:
-
PERM
- See Also:
-
-
Method Details
-
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
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
String getClassType()Get the unique class id for the Dependable. Every Dependable belongs to a class of Dependables.- Returns:
- type of this Dependable.
-