Dependable, Dependent, Providerpublic final class DefaultDescriptor extends UniqueTupleDescriptor implements Provider, Dependent
| Modifier and Type | Field | Description |
|---|---|---|
private int |
columnNumber |
|
private UUID |
defaultUUID |
|
private UUID |
tableUUID |
ACTIVATION, ALIAS, COLUMNS_IN_TABLE, COLUMNS_PERMISSION, CONGLOMERATE, CONSTRAINT, DEFAULT, FILE, HEAP, INDEX, PERM, PREPARED_STATEMENT, ROLE_GRANT, ROUTINE_PERMISSION, SCHEMA, SEQUENCE, STORED_PREPARED_STATEMENT, TABLE, TABLE_PERMISSION, TRIGGER, VIEW| Constructor | Description |
|---|---|
DefaultDescriptor(DataDictionary dataDictionary,
UUID defaultUUID,
UUID tableUUID,
int columnNumber) |
Constructor for a DefaultDescriptor
|
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getClassType() |
Get the provider's type.
|
int |
getColumnNumber() |
Get the column number of the column.
|
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.
|
UUID |
getObjectID() |
Get the provider's UUID
|
java.lang.String |
getObjectName() |
Return the name of this Provider.
|
UUID |
getTableUUID() |
Get the UUID of the table.
|
UUID |
getUUID() |
Get the UUID of the default.
|
boolean |
isValid() |
Check that all of the dependent's dependencies are valid.
|
void |
makeInvalid(int action,
LanguageConnectionContext lcc) |
Mark the dependent as invalid (due to at least one of
its dependencies being invalid).
|
void |
prepareToInvalidate(Provider p,
int action,
LanguageConnectionContext lcc) |
Prepare to mark the dependent as invalid (due to at least one of
its dependencies being invalid).
|
java.lang.String |
toString() |
Convert the DefaultDescriptor to a String.
|
isPersistentclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetColumnDependableFinder, getDataDictionary, getDependableFinder, getDescriptorName, getDescriptorType, isPersistent, setDataDictionaryprivate final int columnNumber
private final UUID defaultUUID
private final UUID tableUUID
public DefaultDescriptor(DataDictionary dataDictionary, UUID defaultUUID, UUID tableUUID, int columnNumber)
dataDictionary - the DDdefaultUUID - The UUID of the defaulttableUUID - The UUID of the tablecolumnNumber - The column number of the column that the default is forpublic UUID getUUID()
getUUID in class UniqueTupleDescriptorpublic UUID getTableUUID()
public int getColumnNumber()
public java.lang.String toString()
toString in class java.lang.Objectpublic DependableFinder getDependableFinder()
DependablegetDependableFinder in interface DependableDependable.getDependableFinder()public java.lang.String getObjectName()
getObjectName in interface Dependablepublic UUID getObjectID()
getObjectID in interface Dependablepublic java.lang.String getClassType()
getClassType in interface Dependablepublic boolean isValid()
public void prepareToInvalidate(Provider p, int action, LanguageConnectionContext lcc) throws StandardException
prepareToInvalidate in interface Dependentaction - The action causing the invalidationp - the providerlcc - The LanguageConnectionContextStandardException - thrown if unable to make it invalidpublic void makeInvalid(int action,
LanguageConnectionContext lcc)
throws StandardException
makeInvalid in interface Dependentaction - The action causing the invalidationlcc - The LanguageConnectionContextStandardException - thrown if called in sanity modeApache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.