|
|||||||||
| Home >> All >> org >> apache >> derby >> iapi >> sql >> [ dictionary overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.derby.iapi.sql.dictionary
Class FileInfoDescriptor

java.lang.Objectorg.apache.derby.iapi.sql.dictionary.TupleDescriptor
org.apache.derby.iapi.sql.dictionary.FileInfoDescriptor
- All Implemented Interfaces:
- org.apache.derby.catalog.Dependable, org.apache.derby.iapi.sql.depend.Provider, UniqueSQLObjectDescriptor, UniqueTupleDescriptor
- public class FileInfoDescriptor
- extends TupleDescriptor
- implements org.apache.derby.iapi.sql.depend.Provider, UniqueSQLObjectDescriptor
- extends TupleDescriptor
A Descriptor for a file that has been stored in the database.
| Field Summary | |
(package private) long |
generationId
|
(package private) org.apache.derby.catalog.UUID |
id
external interface to this class: public long getGenerationId(); |
static int |
JAR_FILE_TYPE
A type tho indicate the file is a jar file |
(package private) SchemaDescriptor |
sd
|
(package private) java.lang.String |
sqlName
|
| 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 | |
FileInfoDescriptor(DataDictionary dataDictionary,
org.apache.derby.catalog.UUID id,
SchemaDescriptor sd,
java.lang.String sqlName,
long generationId)
Constructor for a FileInfoDescriptor. |
|
| Method Summary | |
java.lang.String |
getClassType()
Get the unique class id for the Dependable. |
org.apache.derby.catalog.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. |
java.lang.String |
getDescriptorName()
|
java.lang.String |
getDescriptorType()
Each descriptor must identify itself with its type; i.e index, check constraint whatever. |
long |
getGenerationId()
Gets the generationId for the current version of this file. |
java.lang.String |
getName()
Get the name of this object. |
org.apache.derby.catalog.UUID |
getObjectID()
Get the UUID of this Dependable OBJECT. |
java.lang.String |
getObjectName()
Get the name of this Dependable OBJECT. |
SchemaDescriptor |
getSchemaDescriptor()
Get the objects schema descriptor |
org.apache.derby.catalog.UUID |
getUUID()
Return the UUID for this Descriptor |
| Methods inherited from class org.apache.derby.iapi.sql.dictionary.TupleDescriptor |
getColumnDependableFinder, getDataDictionary, getDependableFinder, isPersistent, setDataDictionary |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.derby.catalog.Dependable |
isPersistent |
| Field Detail |
JAR_FILE_TYPE
public static final int JAR_FILE_TYPE
- A type tho indicate the file is a jar file
- See Also:
- Constant Field Values
id
org.apache.derby.catalog.UUID id
- external interface to this class:
- public long getGenerationId();
sd
SchemaDescriptor sd
sqlName
java.lang.String sqlName
generationId
long generationId
| Constructor Detail |
FileInfoDescriptor
public FileInfoDescriptor(DataDictionary dataDictionary, org.apache.derby.catalog.UUID id, SchemaDescriptor sd, java.lang.String sqlName, long generationId)
- Constructor for a FileInfoDescriptor.
| Method Detail |
getSchemaDescriptor
public SchemaDescriptor getSchemaDescriptor()
- Description copied from interface:
UniqueSQLObjectDescriptor - Get the objects schema descriptor
- Specified by:
getSchemaDescriptorin interfaceUniqueSQLObjectDescriptor
getName
public java.lang.String getName()
- Description copied from interface:
UniqueSQLObjectDescriptor - Get the name of this object. E.g. for a table descriptor,
this will be the table name.
- Specified by:
getNamein interfaceUniqueSQLObjectDescriptor
getUUID
public org.apache.derby.catalog.UUID getUUID()
- Description copied from interface:
UniqueTupleDescriptor - Return the UUID for this Descriptor
- Specified by:
getUUIDin interfaceUniqueTupleDescriptor
getGenerationId
public long getGenerationId()
- Gets the generationId for the current version of this file. The
triple (schemaName,SQLName,generationId) are unique for the
life of this database.
getDependableFinder
public org.apache.derby.catalog.DependableFinder getDependableFinder()
- Description copied from interface:
org.apache.derby.catalog.Dependable - Get an object which can be written to disk and which,
when read from disk, will find or reconstruct this in-memory
Dependable.
- Specified by:
getDependableFinderin interfaceorg.apache.derby.catalog.Dependable
getObjectName
public java.lang.String getObjectName()
- Description copied from interface:
org.apache.derby.catalog.Dependable - Get the name of this Dependable OBJECT. This is useful
for diagnostic messages.
- Specified by:
getObjectNamein interfaceorg.apache.derby.catalog.Dependable
getObjectID
public org.apache.derby.catalog.UUID getObjectID()
- Description copied from interface:
org.apache.derby.catalog.Dependable - Get the UUID of this Dependable OBJECT.
- Specified by:
getObjectIDin interfaceorg.apache.derby.catalog.Dependable
getClassType
public java.lang.String getClassType()
- Description copied from interface:
org.apache.derby.catalog.Dependable - Get the unique class id for the Dependable.
Every Dependable belongs to a class of Dependables.
- Specified by:
getClassTypein interfaceorg.apache.derby.catalog.Dependable
getDescriptorType
public java.lang.String getDescriptorType()
- Description copied from class:
TupleDescriptor - Each descriptor must identify itself with its type; i.e index, check
constraint whatever.
- Overrides:
getDescriptorTypein classTupleDescriptor
getDescriptorName
public java.lang.String getDescriptorName()
- Overrides:
getDescriptorNamein classTupleDescriptor
|
|||||||||
| Home >> All >> org >> apache >> derby >> iapi >> sql >> [ dictionary overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC