|
|||||||||
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.FileInfoDescriptor
public final class FileInfoDescriptor
A Descriptor for a file that has been stored in the database.
Field Summary | |
---|---|
private long |
generationId
|
private 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 |
private SchemaDescriptor |
sd
|
private java.lang.String |
sqlName
|
Fields inherited from interface org.apache.derby.catalog.Dependable |
---|
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 Summary | |
---|---|
FileInfoDescriptor(DataDictionary dataDictionary,
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. |
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. |
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 |
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 |
---|
public static final int JAR_FILE_TYPE
private final UUID id
private final SchemaDescriptor sd
private final java.lang.String sqlName
private final long generationId
Constructor Detail |
---|
public FileInfoDescriptor(DataDictionary dataDictionary, UUID id, SchemaDescriptor sd, java.lang.String sqlName, long generationId)
dataDictionary
- The data dictionary that this descriptor lives inid
- The id for this filesd
- The schema for this file.sqlName
- The SQL name of this file.generationId
- The generation id for the
version of the file this describes.Method Detail |
---|
public SchemaDescriptor getSchemaDescriptor()
UniqueSQLObjectDescriptor
getSchemaDescriptor
in interface UniqueSQLObjectDescriptor
public java.lang.String getName()
UniqueSQLObjectDescriptor
getName
in interface UniqueSQLObjectDescriptor
public UUID getUUID()
UniqueTupleDescriptor
getUUID
in interface UniqueTupleDescriptor
UniqueTupleDescriptor.getUUID()
public long getGenerationId()
public DependableFinder getDependableFinder()
Dependable
getDependableFinder
in interface Dependable
Dependable.getDependableFinder()
public java.lang.String getObjectName()
Dependable
getObjectName
in interface Dependable
Dependable.getObjectName()
public UUID getObjectID()
Dependable
getObjectID
in interface Dependable
Dependable.getObjectID()
public java.lang.String getClassType()
Dependable
getClassType
in interface Dependable
Dependable.getClassType()
public java.lang.String getDescriptorType()
TupleDescriptor
getDescriptorType
in class TupleDescriptor
TupleDescriptor.getDescriptorType()
public java.lang.String getDescriptorName()
getDescriptorName
in class TupleDescriptor
TupleDescriptor.getDescriptorName()
|
Built on Thu 2011-03-10 11:54:14+0000, from revision ??? | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |