Uses of Class
org.h2.engine.DbObject
-
Packages that use DbObject Package Description org.h2.command This package contains the parser and the base classes for prepared SQL statements.org.h2.command.ddl Contains DDL (data definition language) and related SQL statements.org.h2.command.dml Contains DML (data manipulation language) and related SQL statements.org.h2.command.query Contains queries.org.h2.constraint Database constraints such as check constraints, unique constraints, and referential constraints.org.h2.engine Contains high level classes of the database and classes that don't fit in another sub-package.org.h2.expression Expressions include mathematical operations, simple values, and others.org.h2.index Various table index implementations, as well as cursors to navigate in an index.org.h2.jdbc.meta Implementation of the JDBC database metadata API (package java.sql).org.h2.mode Utility classes for compatibility with other database, for example MySQL.org.h2.mvstore.db Helper classes to use the MVStore in the H2 database.org.h2.schema Schema implementation and objects that are stored in a schema (for example, sequences and constants).org.h2.table Classes related to a table and table meta data. -
-
Uses of DbObject in org.h2.command
Methods in org.h2.command that return types with arguments of type DbObject Modifier and Type Method Description abstract java.util.Set<DbObject>
Command. getDependencies()
java.util.Set<DbObject>
CommandContainer. getDependencies()
java.util.Set<DbObject>
CommandList. getDependencies()
Method parameters in org.h2.command with type arguments of type DbObject Modifier and Type Method Description void
Prepared. collectDependencies(java.util.HashSet<DbObject> dependencies)
Find and collect all DbObjects, this Prepared depends on. -
Uses of DbObject in org.h2.command.ddl
Methods in org.h2.command.ddl with parameters of type DbObject Modifier and Type Method Description private void
AlterTableAlterColumn. checkViewsAreValid(DbObject tableOrView)
Check that a table or view is still valid.private void
GrantRevoke. grantRight(DbObject object)
private void
GrantRevoke. revokeRight(DbObject object)
-
Uses of DbObject in org.h2.command.dml
Fields in org.h2.command.dml with type parameters of type DbObject Modifier and Type Field Description private static java.util.Comparator<? super DbObject>
ScriptCommand. BY_NAME_COMPARATOR
Methods in org.h2.command.dml with type parameters of type DbObject Modifier and Type Method Description private static <T extends DbObject>
T[]ScriptCommand. sorted(java.util.Collection<T> collection, java.lang.Class<T> clazz)
Methods in org.h2.command.dml that return DbObject Modifier and Type Method Description private static <T extends DbObject>
T[]ScriptCommand. sorted(java.util.Collection<T> collection, java.lang.Class<T> clazz)
Method parameters in org.h2.command.dml with type arguments of type DbObject Modifier and Type Method Description void
Delete. collectDependencies(java.util.HashSet<DbObject> dependencies)
void
Explain. collectDependencies(java.util.HashSet<DbObject> dependencies)
void
Insert. collectDependencies(java.util.HashSet<DbObject> dependencies)
void
Merge. collectDependencies(java.util.HashSet<DbObject> dependencies)
void
MergeUsing. collectDependencies(java.util.HashSet<DbObject> dependencies)
void
Update. collectDependencies(java.util.HashSet<DbObject> dependencies)
-
Uses of DbObject in org.h2.command.query
Method parameters in org.h2.command.query with type arguments of type DbObject Modifier and Type Method Description void
Query. collectDependencies(java.util.HashSet<DbObject> dependencies)
-
Uses of DbObject in org.h2.constraint
Subclasses of DbObject in org.h2.constraint Modifier and Type Class Description class
Constraint
The base class for constraint checking.class
ConstraintCheck
A check constraint.class
ConstraintDomain
A domain constraint.class
ConstraintReferential
A referential constraint.class
ConstraintUnique
A unique constraint. -
Uses of DbObject in org.h2.engine
Subclasses of DbObject in org.h2.engine Modifier and Type Class Description class
Comment
Represents a database object comment.class
Right
An access right.class
RightOwner
A right owner (sometimes called principal).class
Role
Represents a role.class
Setting
A persistent database setting.class
User
Represents a user object.Fields in org.h2.engine declared as DbObject Modifier and Type Field Description private DbObject
Right. grantedObject
The object.Fields in org.h2.engine with type parameters of type DbObject Modifier and Type Field Description private java.util.HashMap<DbObject,Right>
RightOwner. grantedRights
The map of granted rights.Methods in org.h2.engine that return DbObject Modifier and Type Method Description DbObject
Right. getGrantedObject()
DbObject
Right. getGrantee()
Methods in org.h2.engine that return types with arguments of type DbObject Modifier and Type Method Description java.util.ArrayList<DbObject>
DbObject. getChildren()
Get the list of dependent children (for tables, this includes indexes and so on).java.util.ArrayList<DbObject>
Role. getChildren()
java.util.ArrayList<DbObject>
User. getChildren()
private java.util.Map<java.lang.String,DbObject>
Database. getMap(int type)
Methods in org.h2.engine with parameters of type DbObject Modifier and Type Method Description void
Database. addDatabaseObject(SessionLocal session, DbObject obj)
Add an object to the database.private void
Database. addMeta(SessionLocal session, DbObject obj)
Comment
Database. findComment(DbObject object)
Get the comment for the given database object if one exists, or null if not.private java.lang.String
Right. getCreateSQLForCopy(DbObject object)
(package private) static java.lang.String
Comment. getKey(DbObject obj)
Get the comment key name for the given database object.Right
RightOwner. getRightForObject(DbObject object)
Get the 'grant schema' right of this object.void
RightOwner. grantRight(DbObject object, Right right)
Grant a right for the given table.static void
MetaRecord. populateRowFromDBObject(DbObject obj, SearchRow r)
Copy metadata from the specified object into specified search row.void
Database. removeDatabaseObject(SessionLocal session, DbObject obj)
Remove the object from the database.void
Database. renameDatabaseObject(SessionLocal session, DbObject obj, java.lang.String newName)
Rename a database object.(package private) void
RightOwner. revokeRight(DbObject object)
Revoke the right for the given object (table or schema).void
Database. updateMeta(SessionLocal session, DbObject obj)
Update an object in the system table.private void
Database. updateMetaAndFirstLevelChildren(SessionLocal session, DbObject obj)
Constructors in org.h2.engine with parameters of type DbObject Constructor Description Comment(Database database, int id, DbObject obj)
Right(Database db, int id, RightOwner grantee, int grantedRight, DbObject grantedObject)
-
Uses of DbObject in org.h2.expression
Methods in org.h2.expression that return types with arguments of type DbObject Modifier and Type Method Description java.util.HashSet<DbObject>
ExpressionVisitor. getDependencies()
Get the dependency set.Methods in org.h2.expression with parameters of type DbObject Modifier and Type Method Description void
ExpressionVisitor. addDependency(DbObject obj)
Add a new dependency to the set of dependencies.Method parameters in org.h2.expression with type arguments of type DbObject Modifier and Type Method Description static ExpressionVisitor
ExpressionVisitor. getDependenciesVisitor(java.util.HashSet<DbObject> dependencies)
Create a new visitor object to collect dependencies. -
Uses of DbObject in org.h2.index
Subclasses of DbObject in org.h2.index Modifier and Type Class Description class
DualIndex
An index for the DUAL table.class
Index
An index.class
LinkedIndex
A linked index is a index for a linked (remote) table.class
MetaIndex
The index implementation for meta data tables.class
RangeIndex
An index for the SYSTEM_RANGE table.class
ViewIndex
This object represents a virtual index for a query.class
VirtualConstructedTableIndex
An index for a virtual table that returns a result set.class
VirtualTableIndex
An base class for indexes of virtual tables. -
Uses of DbObject in org.h2.jdbc.meta
Methods in org.h2.jdbc.meta with parameters of type DbObject Modifier and Type Method Description private void
DatabaseMetaLocal. addPrivileges(SimpleResult result, Value catalogValue, java.lang.String schemaName, java.lang.String tableName, DbObject grantee, int rightMask, CompareLike columnLike, Column[] columns)
-
Uses of DbObject in org.h2.mode
Subclasses of DbObject in org.h2.mode Modifier and Type Class Description class
PgCatalogSchema
pg_catalog
schema.class
PgCatalogTable
This class is responsible to build the pg_catalog tables. -
Uses of DbObject in org.h2.mvstore.db
Subclasses of DbObject in org.h2.mvstore.db Modifier and Type Class Description class
MVDelegateIndex
An index that delegates indexing to another index.class
MVIndex<K,V>
An index that stores the data in an MVStore.class
MVPrimaryIndex
A table stored in a MVStore.class
MVSecondaryIndex
An index stored in a MVStore.class
MVSpatialIndex
This is an index based on a MVRTreeMap.class
MVTable
A table stored in a MVStore. -
Uses of DbObject in org.h2.schema
Subclasses of DbObject in org.h2.schema Modifier and Type Class Description class
Constant
A user-defined constant as created by the SQL statement CREATE CONSTANTclass
Domain
Represents a domain.class
FunctionAlias
Represents a user-defined function, or alias.class
InformationSchema
Information schema.class
MetaSchema
Meta data schema.class
Schema
A schema as created by the SQL statement CREATE SCHEMAclass
SchemaObject
Any database object that is stored in a schema.class
Sequence
A sequence is created using the statement CREATE SEQUENCEclass
TriggerObject
A trigger is created using the statement CREATE TRIGGERclass
UserAggregate
Represents a user-defined aggregate function.class
UserDefinedFunction
User-defined Java function or aggregate function.Methods in org.h2.schema that return types with arguments of type DbObject Modifier and Type Method Description java.util.ArrayList<DbObject>
Schema. getChildren()
Methods in org.h2.schema with parameters of type DbObject Modifier and Type Method Description private java.lang.String
Schema. getUniqueName(DbObject obj, java.util.Map<java.lang.String,? extends SchemaObject> map, java.lang.String prefix)
-
Uses of DbObject in org.h2.table
Subclasses of DbObject in org.h2.table Modifier and Type Class Description class
DataChangeDeltaTable
A data change delta table.class
DualTable
The DUAL table for selects without a FROM clause.class
FunctionTable
A table backed by a system or user-defined function that returns a result set.class
InformationSchemaTable
This class is responsible to build the INFORMATION_SCHEMA tables.class
InformationSchemaTableLegacy
This class is responsible to build the legacy variant of INFORMATION_SCHEMA tables.class
MetaTable
This class is responsible to build the database meta data pseudo tables.class
RangeTable
The table SYSTEM_RANGE is a virtual table that generates incrementing numbers with a given start end point.class
Table
This is the base class for most tables.class
TableBase
The base class of a regular table, or a user defined table.class
TableLink
A linked table contains connection information for a table accessible by JDBC.class
TableSynonym
Synonym for an existing table or view.class
TableValueConstructorTable
A table for table value constructor.class
TableView
A view is a virtual table that is defined by a query.class
VirtualConstructedTable
A base class for virtual tables that construct all their content at once.class
VirtualTable
A base class for virtual tables.Methods in org.h2.table that return types with arguments of type DbObject Modifier and Type Method Description java.util.ArrayList<DbObject>
Table. getChildren()
Methods in org.h2.table with parameters of type DbObject Modifier and Type Method Description private void
InformationSchemaTable. addPrivilege(SessionLocal session, java.util.ArrayList<Row> rows, DbObject grantee, java.lang.String catalog, Table table, java.lang.String column, java.lang.String right)
private void
InformationSchemaTableLegacy. addPrivilege(SessionLocal session, java.util.ArrayList<Row> rows, DbObject grantee, java.lang.String catalog, Table table, java.lang.String column, java.lang.String right)
private void
InformationSchemaTable. addPrivileges(SessionLocal session, java.util.ArrayList<Row> rows, DbObject grantee, java.lang.String catalog, Table table, java.lang.String column, int rightMask)
private void
InformationSchemaTableLegacy. addPrivileges(SessionLocal session, java.util.ArrayList<Row> rows, DbObject grantee, java.lang.String catalog, Table table, java.lang.String column, int rightMask)
private static void
Table. remove(java.util.ArrayList<? extends DbObject> list, DbObject obj)
Method parameters in org.h2.table with type arguments of type DbObject Modifier and Type Method Description void
Table. addDependencies(java.util.HashSet<DbObject> dependencies)
Add all objects that this table depends on to the hash set.void
TableView. addDependencies(java.util.HashSet<DbObject> dependencies)
private static void
Table. remove(java.util.ArrayList<? extends DbObject> list, DbObject obj)
-