public final class FileInfoDescriptor extends UniqueSQLObjectDescriptor implements Provider
Modifier and Type | Field and Description |
---|---|
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 |
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 and Description |
---|
FileInfoDescriptor(DataDictionary dataDictionary,
UUID id,
SchemaDescriptor sd,
java.lang.String sqlName,
long generationId)
Constructor for a FileInfoDescriptor.
|
Modifier and Type | Method and Description |
---|---|
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
|
getColumnDependableFinder, getDataDictionary, getDependableFinder, isPersistent, setDataDictionary
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isPersistent
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
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.public SchemaDescriptor getSchemaDescriptor()
UniqueSQLObjectDescriptor
getSchemaDescriptor
in class UniqueSQLObjectDescriptor
public java.lang.String getName()
UniqueSQLObjectDescriptor
getName
in class UniqueSQLObjectDescriptor
public UUID getUUID()
UniqueTupleDescriptor
getUUID
in class 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()
Apache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.