|
|||||||||
| 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.AliasDescriptor
public final class AliasDescriptor
This class represents an Alias Descriptor. The public methods for this class are:
| Field Summary | |
|---|---|
private UUID |
aliasID
|
private AliasInfo |
aliasInfo
|
private java.lang.String |
aliasName
|
private char |
aliasType
|
private java.lang.String |
javaClassName
|
private char |
nameSpace
|
private UUID |
schemaID
|
private java.lang.String |
specificName
|
private boolean |
systemAlias
|
| 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 | |
|---|---|
AliasDescriptor(DataDictionary dataDictionary,
UUID aliasID,
java.lang.String aliasName,
UUID schemaID,
java.lang.String javaClassName,
char aliasType,
char nameSpace,
boolean systemAlias,
AliasInfo aliasInfo,
java.lang.String specificName)
Constructor for a AliasDescriptor |
|
| Method Summary | |
|---|---|
void |
drop(LanguageConnectionContext lcc)
Drop the routine or synonym. |
boolean |
equals(java.lang.Object otherObject)
Determine if two AliasDescriptors are the same. |
AliasInfo |
getAliasInfo()
Gests the AliasInfo for the alias. |
char |
getAliasType()
Gets the type of the alias. |
static java.lang.String |
getAliasType(char nameSpace)
|
java.lang.String |
getClassType()
Get the provider's type. |
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. |
java.lang.String |
getJavaClassName()
Gets the java class name of the alias. |
char |
getNameSpace()
Gets the name space of the alias. |
UUID |
getObjectID()
Get the provider's UUID |
java.lang.String |
getObjectName()
Return the name of this Provider. |
UUID |
getSchemaUUID()
Gets the UUID of the schema for this method alias. |
java.lang.String |
getSpecificName()
Return the specific name for this object. |
boolean |
getSystemAlias()
Gets whether or not the alias is a system alias. |
UUID |
getUUID()
Gets the UUID of the method alias. |
int |
hashCode()
Get a hashcode for this AliasDescriptor |
boolean |
isPersistent()
Functions are persistent unless they are in the SYSFUN schema. |
boolean |
isTableFunction()
Report whether this descriptor describes a Table Function. |
java.lang.String |
toString()
Convert the AliasDescriptor to a String. |
| Methods inherited from class org.apache.derby.iapi.sql.dictionary.TupleDescriptor |
|---|
getColumnDependableFinder, getDataDictionary, getDependableFinder, setDataDictionary |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private final UUID aliasID
private final java.lang.String aliasName
private final UUID schemaID
private final java.lang.String javaClassName
private final char aliasType
private final char nameSpace
private final boolean systemAlias
private final AliasInfo aliasInfo
private final java.lang.String specificName
| Constructor Detail |
|---|
public AliasDescriptor(DataDictionary dataDictionary,
UUID aliasID,
java.lang.String aliasName,
UUID schemaID,
java.lang.String javaClassName,
char aliasType,
char nameSpace,
boolean systemAlias,
AliasInfo aliasInfo,
java.lang.String specificName)
dataDictionary - The data dictionary that this descriptor lives inaliasID - The UUID for this aliasaliasName - The name of the method aliasschemaID - The UUID for this alias's schemajavaClassName - The java class name of the aliasaliasType - The alias typenameSpace - The alias name spacealiasInfo - The AliasInfo for the alias| Method Detail |
|---|
public UUID getUUID()
getUUID in interface UniqueTupleDescriptorpublic UUID getSchemaUUID()
public java.lang.String getJavaClassName()
public char getAliasType()
public char getNameSpace()
public boolean getSystemAlias()
public AliasInfo getAliasInfo()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object otherObject)
equals in class java.lang.ObjectotherObject - other descriptor
public int hashCode()
hashCode in class java.lang.Objectpublic DependableFinder getDependableFinder()
Dependable
getDependableFinder in interface DependableDependable.getDependableFinder()public java.lang.String getObjectName()
getObjectName in interface Dependablepublic UUID getObjectID()
getObjectID in interface Dependablepublic java.lang.String getClassType()
getClassType in interface Dependablepublic java.lang.String getDescriptorType()
TupleDescriptor
getDescriptorType in class TupleDescriptorTupleDescriptor.getDescriptorType()public static final java.lang.String getAliasType(char nameSpace)
public java.lang.String getDescriptorName()
getDescriptorName in class TupleDescriptorTupleDescriptor.getDescriptorName()public java.lang.String getSpecificName()
public boolean isPersistent()
isPersistent in interface DependableisPersistent in class TupleDescriptorpublic boolean isTableFunction()
public void drop(LanguageConnectionContext lcc)
throws StandardException
lcc -
StandardException
|
Built on Sat 2009-11-28 18:44:18-0800, from revision 885187 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||