Home » db-derby-10.5.3.0 » org.apache.derby.iapi.sql.dictionary » [javadoc | source]
org.apache.derby.iapi.sql.dictionary
public final class: SchemaDescriptor [javadoc | source]
java.lang.Object
   org.apache.derby.iapi.sql.dictionary.TupleDescriptor
      org.apache.derby.iapi.sql.dictionary.SchemaDescriptor

All Implemented Interfaces:
    Provider, UniqueTupleDescriptor

This class represents a schema descriptor
Field Summary
public static final  String STD_SYSTEM_SCHEMA_NAME    STD_SYSTEM_SCHEMA_NAME is the name of the system schema in databases that use ANSI standard identifier casing. See org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext#getSystemSchemaName 
public static final  String IBM_SYSTEM_SCHEMA_NAME     
public static final  String IBM_SYSTEM_CAT_SCHEMA_NAME     
public static final  String IBM_SYSTEM_FUN_SCHEMA_NAME     
public static final  String IBM_SYSTEM_PROC_SCHEMA_NAME     
public static final  String IBM_SYSTEM_STAT_SCHEMA_NAME     
public static final  String IBM_SYSTEM_NULLID_SCHEMA_NAME     
public static final  String STD_SQLJ_SCHEMA_NAME    This schema is used for jar handling procedures. * 
public static final  String STD_SYSTEM_DIAG_SCHEMA_NAME    This schema is for Derby specific system diagnostic procedures and functions which are not available in DB2. 
public static final  String STD_SYSTEM_UTIL_SCHEMA_NAME    This schema is for Derby specific system diagnostic procedures and functions which are not available in DB2. 
public static final  String STD_DEFAULT_SCHEMA_NAME    STD_DEFAULT_SCHEMA_NAME is the name of the default schema in databases that use ANSI standard identifier casing. See org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext#getDefaultSchemaName 
public static final  String SYSCAT_SCHEMA_UUID    UUID's used as key's in the SYSSCHEMA catalog for the system schema's * 
public static final  String SYSFUN_SCHEMA_UUID     
public static final  String SYSPROC_SCHEMA_UUID     
public static final  String SYSSTAT_SCHEMA_UUID     
public static final  String SYSCS_DIAG_SCHEMA_UUID     
public static final  String SYSCS_UTIL_SCHEMA_UUID     
public static final  String NULLID_SCHEMA_UUID     
public static final  String SQLJ_SCHEMA_UUID     
public static final  String SYSTEM_SCHEMA_UUID     
public static final  String SYSIBM_SCHEMA_UUID     
public static final  String DEFAULT_SCHEMA_UUID     
public static final  String STD_DECLARED_GLOBAL_TEMPORARY_TABLES_SCHEMA_NAME     
public static final  String DEFAULT_USER_NAME     
public static final  String SA_USER_NAME     
Constructor:
 public SchemaDescriptor(DataDictionary dataDictionary,
    String name,
    String aid,
    UUID oid,
    boolean isSystem) 
    Constructor for a SchemaDescriptor.
    Parameters:
    dataDictionary -
    name - The schema descriptor for this table.
    oid - The object id
    aid - The authorizatin id
    isSystem - boolean, true iff this is a system schema, like SYS, SYSIBM, SYSCAT, SYSFUN, ....
Method from org.apache.derby.iapi.sql.dictionary.SchemaDescriptor Summary:
drop,   equals,   getAuthorizationId,   getClassType,   getCollationType,   getDependableFinder,   getDescriptorName,   getDescriptorType,   getObjectID,   getObjectName,   getSchemaName,   getUUID,   hashCode,   isSYSIBM,   isSchemaWithGrantableRoutines,   isSystemSchema,   setUUID,   toString
Methods from org.apache.derby.iapi.sql.dictionary.TupleDescriptor:
getColumnDependableFinder,   getDataDictionary,   getDependableFinder,   getDescriptorName,   getDescriptorType,   isPersistent,   setDataDictionary
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.derby.iapi.sql.dictionary.SchemaDescriptor Detail:
 public  void drop(LanguageConnectionContext lcc,
    Activation activation) throws StandardException 
    Drop this schema. Drops the schema if it is empty. If the schema was the current default then the current default will be reset through the language connection context.
 public boolean equals(Object otherObject) 
    Determine if two SchemaDescriptors are the same.
 public String getAuthorizationId() 
    Gets the authorization id of the schema
 public String getClassType() 
    Get the provider's type.
 public int getCollationType() 
    Returns the collation type associated with this schema
 public DependableFinder getDependableFinder() 
 public String getDescriptorName() 
 public String getDescriptorType() 
 public UUID getObjectID() 
    Get the provider's UUID
 public String getObjectName() 
    Return the name of this Provider. (Useful for errors.)
 public String getSchemaName() 
    Gets the name of the schema
 public UUID getUUID() 
    Gets the oid of the schema
 public int hashCode() 
    Get a hashcode for this SchemaDescriptor
 public boolean isSYSIBM() 
 public boolean isSchemaWithGrantableRoutines() 
    Indicate whether this is a system schema with grantable routines
 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
 public  void setUUID(UUID oid) 
    Sets the oid of the schema
 public String toString() 
    Prints the contents of the SchemaDescriptor