Dependable, Providerpublic final class FileInfoDescriptor extends UniqueSQLObjectDescriptor implements Provider
| Modifier and Type | Field | 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 | Description |
|---|---|
FileInfoDescriptor(DataDictionary dataDictionary,
UUID id,
SchemaDescriptor sd,
java.lang.String sqlName,
long generationId) |
Constructor for a FileInfoDescriptor.
|
| Modifier and Type | Method | 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
|
isPersistentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetColumnDependableFinder, getDataDictionary, getDependableFinder, isPersistent, setDataDictionarypublic 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()
UniqueSQLObjectDescriptorgetSchemaDescriptor in class UniqueSQLObjectDescriptorpublic java.lang.String getName()
UniqueSQLObjectDescriptorgetName in class UniqueSQLObjectDescriptorpublic UUID getUUID()
UniqueTupleDescriptorgetUUID in class UniqueTupleDescriptorUniqueTupleDescriptor.getUUID()public long getGenerationId()
public DependableFinder getDependableFinder()
DependablegetDependableFinder in interface DependableDependable.getDependableFinder()public java.lang.String getObjectName()
DependablegetObjectName in interface DependableDependable.getObjectName()public UUID getObjectID()
DependablegetObjectID in interface DependableDependable.getObjectID()public java.lang.String getClassType()
DependablegetClassType in interface DependableDependable.getClassType()public java.lang.String getDescriptorType()
TupleDescriptorgetDescriptorType in class TupleDescriptorTupleDescriptor.getDescriptorType()public java.lang.String getDescriptorName()
getDescriptorName in class TupleDescriptorTupleDescriptor.getDescriptorName()Apache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.