| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv HsqlNameManager. | |
| pack-priv Database | |
| pack-priv HsqlNameManager. | |
| pack-priv int | |
| pack-priv Table | |
| pack-priv ReadWriteLock | |
| pack-priv Lock | |
| pack-priv MultiValueHashMap | |
| pack-priv long | |
| pack-priv OrderedHashMap | |
| pack-priv long[][] | |
| pack-priv SchemaManager. | |
| pack-priv Lock |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | createSchema(HsqlNameManager.
Creates a schema belonging to the given grantee. |
| public void | |
| public Iterator | |
| public Iterator | |
| public Iterator | |
| public Iterator | |
| pack-priv void | dropConstraint(Session session, HsqlNameManager.
Drops the constraint with the specified name. |
| pack-priv void | |
| public void | |
| public void | dropSchemas(Session session, Grantee grantee, boolean cascade)
drop all schemas with the given authorisation |
| private void | |
| public void | dropTableOrView(Session
the connected context in which to perform this operation session, Table if true and if the Table to drop does not exist, fail
silently, else throw table, boolean true if the name argument refers to a View cascade)Drops the specified user-defined view or table from this Database object. |
| private void | |
| public SchemaObject | |
| public Type | |
| public Schema | |
| public HsqlNameManager. | |
| public SchemaObject | |
| public SchemaObject | |
| public SchemaObject | |
| public NumberSequence | |
| public Table | |
| public ReferenceObject | |
| public Table | |
| public Table | findUserTable(String name, String schemaName)
Returns the specified user-defined table or view visible within the context of the specified schema. |
| pack-priv Table | findUserTableForIndex(Session session, String name, String schemaName)
Returns the table that has an index with the given name and schema. |
| public Schema[] | |
| public HsqlArrayList | getAllTables(boolean withLobTables)
Returns an HsqlArrayList containing references to all non-system tables and views of the given type. |
| public void | |
| public void | |
| public HsqlNameManager. | |
| public HsqlNameManager. | |
| public HsqlNameManager. | |
| public SchemaObject | |
| public Collation | |
| public HsqlNameManager. | |
| public int | |
| public Type | |
| public Type | |
| public long[][] | |
| public List | |
| public OrderedHashSet | |
| public OrderedHashSet | |
| public MultiValueHashMap | |
| public long | |
| public HsqlNameManager. | getSchemaHsqlName(String name)
If schemaName is null, return the default schema name, else return the HsqlName object for the schema. |
| public String | |
| public String[] | |
| public SchemaObject | |
| public HsqlNameManager. | |
| public HsqlArrayList | |
| public NumberSequence | |
| public List | |
| public HsqlNameManager. | |
| public int | Returns: the index of the specified table or view, or -1 if not foundthe Table object table)Returns index of a table or view in the HashMappedList that contains the table objects for this Database. |
| public List | |
| public OrderedHashMap | |
| public List | |
| public Type | |
| public HsqlNameManager. | |
| public Iterator | |
| public Table | |
| public Table | getUserTable(String name, String schema)
Returns the specified user-defined table or view visible within the context of the specified Session. |
| public boolean | |
| private boolean | |
| public void | |
| public void | recompileDependentObjects(Table table)
After addition or removal of columns and indexes all views that reference the table should be recompiled. |
| public void | |
| pack-priv void | |
| pack-priv void | removeExportedKeys(Table
The table to which other tables may be holding keys.
This is a table that is in the process of being dropped. toDrop)Removes any foreign key Constraint objects (exported keys) held by any tables referenced by the specified table. |
| private void | |
| private void | |
| private void | |
| public void | |
| public void | |
| public void | |
| private void | |
| private void | |
| public void | |
| public void | |
| public void | |
| public boolean | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public Grantee |
| catalogNameArray | back to summary |
|---|---|
| pack-priv HsqlNameManager. | |
| database | back to summary |
|---|---|
| pack-priv Database database | |
| defaultSchemaHsqlName | back to summary |
|---|---|
| pack-priv HsqlNameManager. | |
| defaultTableType | back to summary |
|---|---|
| pack-priv int defaultTableType | |
| dualTable | back to summary |
|---|---|
| pack-priv Table dualTable | |
| lock | back to summary |
|---|---|
| pack-priv ReadWriteLock lock | |
| readLock | back to summary |
|---|---|
| pack-priv Lock readLock | |
| referenceMap | back to summary |
|---|---|
| pack-priv MultiValueHashMap<HsqlNameManager. | |
| schemaChangeTimestamp | back to summary |
|---|---|
| pack-priv long schemaChangeTimestamp | |
| schemaMap | back to summary |
|---|---|
| pack-priv OrderedHashMap<String, Schema> schemaMap | |
| tempIndexRoots | back to summary |
|---|---|
| pack-priv long[][] tempIndexRoots | |
| userSchemaFilter | back to summary |
|---|---|
| pack-priv SchemaManager. | |
| writeLock | back to summary |
|---|---|
| pack-priv Lock writeLock | |
| SchemaManager | back to summary |
|---|---|
| public SchemaManager(Database database) | |
| addReferencesFrom | back to summary |
|---|---|
| private void addReferencesFrom(SchemaObject object) | |
| addSchemaObject | back to summary |
|---|---|
| public void addSchemaObject(SchemaObject object) | |
| checkColumnIsReferenced | back to summary |
|---|---|
| public void checkColumnIsReferenced(HsqlNameManager. | |
| checkObjectIsReferenced | back to summary |
|---|---|
| public void checkObjectIsReferenced(HsqlNameManager. | |
| checkSchemaNameCanChange | back to summary |
|---|---|
| public void checkSchemaNameCanChange(HsqlNameManager. | |
| checkSchemaObjectNotExists | back to summary |
|---|---|
| public void checkSchemaObjectNotExists(HsqlNameManager. | |
| createPublicSchema | back to summary |
|---|---|
| public void createPublicSchema() | |
| createSchema | back to summary |
|---|---|
| public void createSchema(HsqlNameManager. Creates a schema belonging to the given grantee. | |
| createSystemTables | back to summary |
|---|---|
| public void createSystemTables() | |
| databaseCheckConstraintIterator | back to summary |
|---|---|
| public Iterator | |
| databaseObjectIterator | back to summary |
|---|---|
| public Iterator | |
| databaseObjectIterator | back to summary |
|---|---|
| public Iterator | |
| databaseTableIterator | back to summary |
|---|---|
| public Iterator | |
| dropConstraint | back to summary |
|---|---|
| pack-priv void dropConstraint(Session session, HsqlNameManager. Drops the constraint with the specified name. | |
| dropIndex | back to summary |
|---|---|
| pack-priv void dropIndex(Session session, HsqlNameManager. Drops the index with the specified name. | |
| dropSchema | back to summary |
|---|---|
| public void dropSchema(Session session, String name, boolean cascade) | |
| dropSchemas | back to summary |
|---|---|
| public void dropSchemas(Session session, Grantee grantee, boolean cascade) drop all schemas with the given authorisation | |
| dropTable | back to summary |
|---|---|
| private void dropTable(Session session, Table table, boolean cascade) | |
| dropTableOrView | back to summary |
|---|---|
| public void dropTableOrView(Session session, Table table, boolean cascade) Drops the specified user-defined view or table from this Database object. The process of dropping a table or view includes:
| |
| dropView | back to summary |
|---|---|
| private void dropView(Table table, boolean cascade) | |
| findAnySchemaObjectForSynonym | back to summary |
|---|---|
| public SchemaObject findAnySchemaObjectForSynonym(String name, String schemaName) | |
| findDomainOrUDT | back to summary |
|---|---|
| public Type findDomainOrUDT(Session session, String name, String prefix, String prePrefix, String prePrePrefix) | |
| findSchema | back to summary |
|---|---|
| public Schema findSchema(String name) | |
| findSchemaHsqlName | back to summary |
|---|---|
| public HsqlNameManager. | |
| findSchemaObject | back to summary |
|---|---|
| public SchemaObject findSchemaObject(Session session, String name, String prefix, String prePrefix, int type) | |
| findSchemaObject | back to summary |
|---|---|
| public SchemaObject findSchemaObject(String name, String schemaName, int type) | |
| findSchemaObject | back to summary |
|---|---|
| public SchemaObject findSchemaObject(HsqlNameManager. | |
| findSequence | back to summary |
|---|---|
| public NumberSequence findSequence(Session session, String name, String schemaName) | |
| findSessionTable | back to summary |
|---|---|
| public Table findSessionTable(Session session, String name) Returns the specified session context table. Returns null if the table does not exist in the context. | |
| findSynonym | back to summary |
|---|---|
| public ReferenceObject findSynonym(String name, String schemaName, int type) | |
| findTable | back to summary |
|---|---|
| public Table findTable(Session session, String name, String prefix, String prePrefix) | |
| findUserTable | back to summary |
|---|---|
| public Table findUserTable(String name, String schemaName) Returns the specified user-defined table or view visible within the context of the specified schema. It excludes system tables. Returns null if the table does not exist in the context. | |
| findUserTableForIndex | back to summary |
|---|---|
| pack-priv Table findUserTableForIndex(Session session, String name, String schemaName) Returns the table that has an index with the given name and schema. | |
| getAllSchemas | back to summary |
|---|---|
| public Schema[] getAllSchemas() | |
| getAllTables | back to summary |
|---|---|
| public HsqlArrayList Returns an HsqlArrayList containing references to all non-system tables and views of the given type. | |
| getCascadingReferencesTo | back to summary |
|---|---|
| public void getCascadingReferencesTo(HsqlNameManager. | |
| getCascadingReferencesToSchema | back to summary |
|---|---|
| public void getCascadingReferencesToSchema(HsqlNameManager. | |
| getCatalogAndBaseTableNames | back to summary |
|---|---|
| public HsqlNameManager. | |
| getCatalogAndBaseTableNames | back to summary |
|---|---|
| public HsqlNameManager. | |
| getCatalogNameArray | back to summary |
|---|---|
| public HsqlNameManager. | |
| getCharacterSet | back to summary |
|---|---|
| public SchemaObject getCharacterSet(Session session, String name, String schemaName) | |
| getCollation | back to summary |
|---|---|
| public Collation getCollation(Session session, String name, String schemaName) | |
| getDefaultSchemaHsqlName | back to summary |
|---|---|
| public HsqlNameManager. | |
| getDefaultTableType | back to summary |
|---|---|
| public int getDefaultTableType() | |
| getDistinctType | back to summary |
|---|---|
| public Type getDistinctType(String name, String schemaName, boolean raise) | |
| getDomain | back to summary |
|---|---|
| public Type getDomain(String name, String schemaName, boolean raise) | |
| getIndexRoots | back to summary |
|---|---|
| public long[][] getIndexRoots() | |
| getIndexRootsSQLArray | back to summary |
|---|---|
| public List | |
| getReferencesTo | back to summary |
|---|---|
| public OrderedHashSet | |
| getReferencesTo | back to summary |
|---|---|
| public OrderedHashSet | |
| getReferencesToSchema | back to summary |
|---|---|
| public MultiValueHashMap | |
| getSchemaChangeTimestamp | back to summary |
|---|---|
| public long getSchemaChangeTimestamp() | |
| getSchemaHsqlName | back to summary |
|---|---|
| public HsqlNameManager. If schemaName is null, return the default schema name, else return the HsqlName object for the schema. If schemaName does not exist, throw. | |
| getSchemaName | back to summary |
|---|---|
| public String getSchemaName(String name) Same as above, but return string | |
| getSchemaNamesArray | back to summary |
|---|---|
| public String[] getSchemaNamesArray() | |
| getSchemaObject | back to summary |
|---|---|
| public SchemaObject getSchemaObject(String name, String schemaName, int type) | |
| getSchemaObjectName | back to summary |
|---|---|
| public HsqlNameManager. | |
| getSchemas | back to summary |
|---|---|
| public HsqlArrayList | |
| getSequence | back to summary |
|---|---|
| public NumberSequence getSequence(String name, String schemaName, boolean raise) | |
| getSQLArray | back to summary |
|---|---|
| public List | |
| getSQLJSchemaHsqlName | back to summary |
|---|---|
| public HsqlNameManager. | |
| getTableIndex | back to summary |
|---|---|
| public int getTableIndex(Table table) Returns index of a table or view in the HashMappedList that contains the table objects for this Database.
| |
| getTablePropsSQLArray | back to summary |
|---|---|
| public List | |
| getTables | back to summary |
|---|---|
| public OrderedHashMap | |
| getTableSpaceSQLArray | back to summary |
|---|---|
| public List | |
| getUserDefinedType | back to summary |
|---|---|
| public Type getUserDefinedType(String name, String schemaName, boolean raise) | |
| getUserSchemaHsqlName | back to summary |
|---|---|
| public HsqlNameManager. | |
| getUserSchemaIterator | back to summary |
|---|---|
| public Iterator | |
| getUserTable | back to summary |
|---|---|
| public Table getUserTable(HsqlNameManager. | |
| getUserTable | back to summary |
|---|---|
| public Table getUserTable(String name, String schema) Returns the specified user-defined table or view visible within the context of the specified Session. Throws if the table does not exist in the context. | |
| hasSchemas | back to summary |
|---|---|
| public boolean hasSchemas(Grantee grantee) | |
| isReferenced | back to summary |
|---|---|
| private boolean isReferenced(HsqlNameManager. | |
| recompileDependentObjects | back to summary |
|---|---|
| public void recompileDependentObjects(OrderedHashSet<Table> tableSet) | |
| recompileDependentObjects | back to summary |
|---|---|
| public void recompileDependentObjects(Table table) After addition or removal of columns and indexes all views that reference the table should be recompiled. | |
| release | back to summary |
|---|---|
| public void release() | |
| removeDependentObjects | back to summary |
|---|---|
| pack-priv void removeDependentObjects(HsqlNameManager. | |
| removeExportedKeys | back to summary |
|---|---|
| pack-priv void removeExportedKeys(Table toDrop) Removes any foreign key Constraint objects (exported keys) held by any tables referenced by the specified table. This method is called as the last step of a successful call to dropTable() in order to ensure that the dropped Table ceases to be referenced when enforcing referential integrity.
| |
| removeReferencesFrom | back to summary |
|---|---|
| private void removeReferencesFrom(SchemaObject object) | |
| removeReferencesTo | back to summary |
|---|---|
| private void removeReferencesTo(OrderedHashSet<HsqlNameManager. | |
| removeReferencesTo | back to summary |
|---|---|
| private void removeReferencesTo(HsqlNameManager. | |
| removeSchemaObject | back to summary |
|---|---|
| public void removeSchemaObject(HsqlNameManager. | |
| removeSchemaObject | back to summary |
|---|---|
| public void removeSchemaObject(HsqlNameManager. | |
| removeSchemaObjects | back to summary |
|---|---|
| public void removeSchemaObjects(OrderedHashSet<HsqlNameManager. | |
| removeTable | back to summary |
|---|---|
| private void removeTable(Session session, Table table) | |
| removeTableDependentReferences | back to summary |
|---|---|
| private void removeTableDependentReferences(Table table) | |
| renameSchema | back to summary |
|---|---|
| public void renameSchema(HsqlNameManager. | |
| renameSchemaObject | back to summary |
|---|---|
| public void renameSchemaObject(HsqlNameManager. | |
| replaceReferences | back to summary |
|---|---|
| public void replaceReferences(SchemaObject oldObject, SchemaObject newObject) | |
| schemaExists | back to summary |
|---|---|
| public boolean schemaExists(String name) | |
| setDefaultSchemaHsqlName | back to summary |
|---|---|
| public void setDefaultSchemaHsqlName(HsqlNameManager. | |
| setDefaultTableType | back to summary |
|---|---|
| public void setDefaultTableType(int type) | |
| setIndexRoots | back to summary |
|---|---|
| public void setIndexRoots(long[][] roots) called after the completion of defrag | |
| setSchemaChangeTimestamp | back to summary |
|---|---|
| public void setSchemaChangeTimestamp() | |
| setTable | back to summary |
|---|---|
| public void setTable(int index, Table table) | |
| setTempIndexRoots | back to summary |
|---|---|
| public void setTempIndexRoots(long[][] roots) | |
| toSchemaOwner | back to summary |
|---|---|
| public Grantee toSchemaOwner(String name) | |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public boolean |
| UserSchemaFilter | back to summary |
|---|---|
| pack-priv UserSchemaFilter() | |
| test | back to summary |
|---|---|
| public boolean test(Schema schema) Implements org. | |