|
|||||||||
| 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 SchemaDescriptor

java.lang.Objectorg.apache.derby.iapi.sql.dictionary.TupleDescriptor
org.apache.derby.iapi.sql.dictionary.SchemaDescriptor
- All Implemented Interfaces:
- org.apache.derby.catalog.Dependable, org.apache.derby.iapi.sql.depend.Provider, UniqueTupleDescriptor
- public class SchemaDescriptor
- extends TupleDescriptor
- implements UniqueTupleDescriptor, org.apache.derby.iapi.sql.depend.Provider
- extends TupleDescriptor
This class represents a schema descriptor
- Version:
- 0.1
| 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 | |
SchemaDescriptor(DataDictionary dataDictionary,
java.lang.String name,
java.lang.String aid,
org.apache.derby.catalog.UUID oid,
boolean isSystem)
Constructor for a SchemaDescriptor. |
|
| Method Summary | |
boolean |
equals(java.lang.Object otherObject)
Determine if two SchemaDescriptors are the same. |
java.lang.String |
getAuthorizationId()
Gets the authorization id of the schema |
java.lang.String |
getClassType()
Get the provider's type. |
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. |
org.apache.derby.catalog.UUID |
getObjectID()
Get the provider's UUID |
java.lang.String |
getObjectName()
Return the name of this Provider. |
java.lang.String |
getSchemaName()
Gets the name of the schema |
org.apache.derby.catalog.UUID |
getUUID()
Gets the oid of the schema |
int |
hashCode()
Get a hashcode for this SchemaDescriptor |
boolean |
isSYSIBM()
|
boolean |
isSystemSchema()
Indicate whether this is a system schema or not Examples of system schema's include: SYS, SYSIBM, SYSCAT, SYSFUN, SYSPROC, SYSSTAT, and SYSCS_DIAG |
void |
setUUID(org.apache.derby.catalog.UUID oid)
Sets the oid of the schema |
java.lang.String |
toString()
Prints the contents of the SchemaDescriptor |
| Methods inherited from class org.apache.derby.iapi.sql.dictionary.TupleDescriptor |
getColumnDependableFinder, getDataDictionary, getDependableFinder, isPersistent, setDataDictionary |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.apache.derby.catalog.Dependable |
isPersistent |
| Field Detail |
STD_SYSTEM_SCHEMA_NAME
public static final java.lang.String STD_SYSTEM_SCHEMA_NAME
- STD_SYSTEM_SCHEMA_NAME is the name of the system schema in databases that
use ANSI standard identifier casing. In LSA and in Cloudscape target
databases the name will use the same case as the source database
identifiers.
- See Also:
org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext#getSystemSchemaName, Constant Field Values
IBM_SYSTEM_SCHEMA_NAME
public static final java.lang.String IBM_SYSTEM_SCHEMA_NAME
- See Also:
- Constant Field Values
IBM_SYSTEM_CAT_SCHEMA_NAME
public static final java.lang.String IBM_SYSTEM_CAT_SCHEMA_NAME
- See Also:
- Constant Field Values
IBM_SYSTEM_FUN_SCHEMA_NAME
public static final java.lang.String IBM_SYSTEM_FUN_SCHEMA_NAME
- See Also:
- Constant Field Values
IBM_SYSTEM_PROC_SCHEMA_NAME
public static final java.lang.String IBM_SYSTEM_PROC_SCHEMA_NAME
- See Also:
- Constant Field Values
IBM_SYSTEM_STAT_SCHEMA_NAME
public static final java.lang.String IBM_SYSTEM_STAT_SCHEMA_NAME
- See Also:
- Constant Field Values
IBM_SYSTEM_NULLID_SCHEMA_NAME
public static final java.lang.String IBM_SYSTEM_NULLID_SCHEMA_NAME
- See Also:
- Constant Field Values
STD_SQLJ_SCHEMA_NAME
public static final java.lang.String STD_SQLJ_SCHEMA_NAME
- This schema is used for jar handling procedures.
- See Also:
- Constant Field Values
STD_SYSTEM_DIAG_SCHEMA_NAME
public static final java.lang.String STD_SYSTEM_DIAG_SCHEMA_NAME
- This schema is for cloudscape specific system diagnostic procedures and
functions which are not available in DB2.
- See Also:
- Constant Field Values
STD_SYSTEM_UTIL_SCHEMA_NAME
public static final java.lang.String STD_SYSTEM_UTIL_SCHEMA_NAME
- This schema is for cloudscape specific system diagnostic procedures and
functions which are not available in DB2.
- See Also:
- Constant Field Values
STD_DEFAULT_SCHEMA_NAME
public static final java.lang.String STD_DEFAULT_SCHEMA_NAME
- STD_DEFAULT_SCHEMA_NAME is the name of the default schema in databases
that use ANSI standard identifier casing. In LSA and in Cloudscape
target databases the name will use the same case as the source database
identifiers.
- See Also:
org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext#getDefaultSchemaName, Constant Field Values
SYSCAT_SCHEMA_UUID
public static final java.lang.String SYSCAT_SCHEMA_UUID
- UUID's used as key's in the SYSSCHEMA catalog for the system schema's
- See Also:
- Constant Field Values
SYSFUN_SCHEMA_UUID
public static final java.lang.String SYSFUN_SCHEMA_UUID
- See Also:
- Constant Field Values
SYSPROC_SCHEMA_UUID
public static final java.lang.String SYSPROC_SCHEMA_UUID
- See Also:
- Constant Field Values
SYSSTAT_SCHEMA_UUID
public static final java.lang.String SYSSTAT_SCHEMA_UUID
- See Also:
- Constant Field Values
SYSCS_DIAG_SCHEMA_UUID
public static final java.lang.String SYSCS_DIAG_SCHEMA_UUID
- See Also:
- Constant Field Values
SYSCS_UTIL_SCHEMA_UUID
public static final java.lang.String SYSCS_UTIL_SCHEMA_UUID
- See Also:
- Constant Field Values
NULLID_SCHEMA_UUID
public static final java.lang.String NULLID_SCHEMA_UUID
- See Also:
- Constant Field Values
SQLJ_SCHEMA_UUID
public static final java.lang.String SQLJ_SCHEMA_UUID
- See Also:
- Constant Field Values
SYSTEM_SCHEMA_UUID
public static final java.lang.String SYSTEM_SCHEMA_UUID
- See Also:
- Constant Field Values
SYSIBM_SCHEMA_UUID
public static final java.lang.String SYSIBM_SCHEMA_UUID
- See Also:
- Constant Field Values
DEFAULT_SCHEMA_UUID
public static final java.lang.String DEFAULT_SCHEMA_UUID
- See Also:
- Constant Field Values
STD_DECLARED_GLOBAL_TEMPORARY_TABLES_SCHEMA_NAME
public static final java.lang.String STD_DECLARED_GLOBAL_TEMPORARY_TABLES_SCHEMA_NAME
- See Also:
- Constant Field Values
DEFAULT_USER_NAME
public static final java.lang.String DEFAULT_USER_NAME
- See Also:
- Constant Field Values
SA_USER_NAME
public static final java.lang.String SA_USER_NAME
- See Also:
- Constant Field Values
name
private final java.lang.String name
- the public interface for this system:
- public String getSchemaName();
- public String getAuthorizationId();
- public void setUUID(UUID uuid);
- public boolean isSystemSchema();
oid
private org.apache.derby.catalog.UUID oid
aid
private final java.lang.String aid
isSystem
private boolean isSystem
isSYSIBM
private boolean isSYSIBM
| Constructor Detail |
SchemaDescriptor
public SchemaDescriptor(DataDictionary dataDictionary, java.lang.String name, java.lang.String aid, org.apache.derby.catalog.UUID oid, boolean isSystem)
- Constructor for a SchemaDescriptor.
| Method Detail |
getSchemaName
public java.lang.String getSchemaName()
- Gets the name of the schema
getAuthorizationId
public java.lang.String getAuthorizationId()
- Gets the authorization id of the schema
getUUID
public org.apache.derby.catalog.UUID getUUID()
- Gets the oid of the schema
- Specified by:
getUUIDin interfaceUniqueTupleDescriptor
setUUID
public void setUUID(org.apache.derby.catalog.UUID oid)
- Sets the oid of the schema
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()
- Return the name of this Provider. (Useful for errors.)
- Specified by:
getObjectNamein interfaceorg.apache.derby.catalog.Dependable
getObjectID
public org.apache.derby.catalog.UUID getObjectID()
- Get the provider's UUID
- Specified by:
getObjectIDin interfaceorg.apache.derby.catalog.Dependable
getClassType
public java.lang.String getClassType()
- Get the provider's type.
- Specified by:
getClassTypein interfaceorg.apache.derby.catalog.Dependable
toString
public java.lang.String toString()
- Prints the contents of the SchemaDescriptor
equals
public boolean equals(java.lang.Object otherObject)
- Determine if two SchemaDescriptors are the same.
isSystemSchema
public boolean isSystemSchema()
- Indicate whether this is a system schema or not
Examples of system schema's include:
SYS, SYSIBM, SYSCAT, SYSFUN, SYSPROC, SYSSTAT, and SYSCS_DIAG
isSYSIBM
public boolean isSYSIBM()
hashCode
public int hashCode()
- Get a hashcode for this SchemaDescriptor
getDescriptorName
public java.lang.String getDescriptorName()
- Overrides:
getDescriptorNamein classTupleDescriptor
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
|
|||||||||
| 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