|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.derby.iapi.sql.dictionary.TupleDescriptor
org.apache.derby.iapi.sql.dictionary.DefaultDescriptor
This interface is used to get information from a DefaultDescriptor.
Field Summary | |
(package private) int |
columnNumber
public interface to this class public void setDefaultUUID(UUID defaultUUID); public UUID getTableUUID(); |
(package private) UUID |
defaultUUID
|
(package private) UUID |
tableUUID
|
Fields inherited from class org.apache.derby.iapi.sql.dictionary.TupleDescriptor |
COLUMN_LIST, CONGLOMERATE_LIST, CONSTRAINT_LIST, TRIGGER_LIST |
Fields inherited from interface org.apache.derby.catalog.Dependable |
ALIAS, COLUMNS_IN_TABLE, CONGLOMERATE, CONSTRAINT, DEFAULT, FILE, HEAP, INDEX, PREPARED_STATEMENT, SCHEMA, STORED_PREPARED_STATEMENT, TABLE, TRIGGER, VIEW |
Constructor Summary | |
DefaultDescriptor(DataDictionary dataDictionary,
UUID defaultUUID,
UUID tableUUID,
int columnNumber)
Constructor for a DefaultDescriptor |
Method Summary | |
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 |
makeValid(LanguageConnectionContext lcc)
Attempt to revalidate the dependent. |
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). |
void |
setDefaultUUID(UUID defaultUUID)
Set the UUID of the default. |
java.lang.String |
toString()
Convert the DefaultDescriptor to a String. |
Methods inherited from class org.apache.derby.iapi.sql.dictionary.TupleDescriptor |
getColumnDependableFinder, getDataDictionary, getDependableFinder, getDescriptorName, getDescriptorType, isPersistent, setDataDictionary |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.apache.derby.catalog.Dependable |
isPersistent |
Field Detail |
int columnNumber
UUID defaultUUID
UUID tableUUID
Constructor Detail |
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 forMethod Detail |
public UUID getUUID()
getUUID
in interface UniqueTupleDescriptor
public void setDefaultUUID(UUID defaultUUID)
defaultUUID
- The new UUID for the default.
public UUID getTableUUID()
public int getColumnNumber()
public java.lang.String toString()
public DependableFinder getDependableFinder()
Dependable
getDependableFinder
in interface Dependable
Dependable.getDependableFinder()
public java.lang.String getObjectName()
getObjectName
in interface Dependable
public UUID getObjectID()
getObjectID
in interface Dependable
public java.lang.String getClassType()
getClassType
in interface Dependable
public boolean isValid()
isValid
in interface Dependent
public void prepareToInvalidate(Provider p, int action, LanguageConnectionContext lcc) throws StandardException
prepareToInvalidate
in interface Dependent
action
- The action causing the invalidationp
- the providerlcc
- The LanguageConnectionContext
StandardException
- thrown if unable to make it invalidpublic void makeInvalid(int action, LanguageConnectionContext lcc) throws StandardException
makeInvalid
in interface Dependent
action
- The action causing the invalidationlcc
- The LanguageConnectionContext
StandardException
- thrown if called in sanity modepublic void makeValid(LanguageConnectionContext lcc)
makeValid
in interface Dependent
lcc
- The LanguageConnectionContext
|
Built on Tue 2006-10-10 19:23:47+0200, from revision exported | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |