| 程序包 | 说明 |
|---|---|
| org.h2.command |
This package contains the parser and the base classes for prepared 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.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.
|
| 限定符和类型 | 方法和说明 |
|---|---|
abstract Set<DbObject> |
Command.getDependencies() |
Set<DbObject> |
CommandContainer.getDependencies() |
Set<DbObject> |
CommandContainer.getDependencies() |
abstract Set<DbObject> |
Command.getDependencies() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
Prepared.collectDependencies(HashSet<DbObject> dependencies)
Find and collect all DbObjects, this Prepared depends on.
|
void |
Prepared.collectDependencies(HashSet<DbObject> dependencies)
Find and collect all DbObjects, this Prepared depends on.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
Delete.collectDependencies(HashSet<DbObject> dependencies) |
void |
Explain.collectDependencies(HashSet<DbObject> dependencies) |
void |
Insert.collectDependencies(HashSet<DbObject> dependencies) |
void |
Merge.collectDependencies(HashSet<DbObject> dependencies) |
void |
MergeUsing.collectDependencies(HashSet<DbObject> dependencies) |
void |
Update.collectDependencies(HashSet<DbObject> dependencies) |
void |
Update.collectDependencies(HashSet<DbObject> dependencies) |
void |
MergeUsing.collectDependencies(HashSet<DbObject> dependencies) |
void |
Merge.collectDependencies(HashSet<DbObject> dependencies) |
void |
Insert.collectDependencies(HashSet<DbObject> dependencies) |
void |
Explain.collectDependencies(HashSet<DbObject> dependencies) |
void |
Delete.collectDependencies(HashSet<DbObject> dependencies) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
Query.collectDependencies(HashSet<DbObject> dependencies) |
void |
Query.collectDependencies(HashSet<DbObject> dependencies) |
| 限定符和类型 | 类和说明 |
|---|---|
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.
|
| 限定符和类型 | 类和说明 |
|---|---|
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.
|
| 限定符和类型 | 方法和说明 |
|---|---|
DbObject |
Right.getGrantedObject() |
DbObject |
Right.getGrantedObject() |
DbObject |
Right.getGrantee() |
DbObject |
Right.getGrantee() |
| 限定符和类型 | 方法和说明 |
|---|---|
ArrayList<DbObject> |
DbObject.getChildren()
Get the list of dependent children (for tables, this includes indexes and
so on).
|
ArrayList<DbObject> |
Role.getChildren() |
ArrayList<DbObject> |
User.getChildren() |
ArrayList<DbObject> |
User.getChildren() |
ArrayList<DbObject> |
Role.getChildren() |
ArrayList<DbObject> |
DbObject.getChildren()
Get the list of dependent children (for tables, this includes indexes and
so on).
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
Database.addDatabaseObject(SessionLocal session,
DbObject obj)
Add an object to the database.
|
void |
Database.addDatabaseObject(SessionLocal session,
DbObject obj)
Add an object to the database.
|
Comment |
Database.findComment(DbObject object)
Get the comment for the given database object if one exists, or null if
not.
|
Comment |
Database.findComment(DbObject object)
Get the comment for the given database object if one exists, or null if
not.
|
Right |
RightOwner.getRightForObject(DbObject object)
Get the 'grant schema' right of this 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.
|
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.
|
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.removeDatabaseObject(SessionLocal session,
DbObject obj)
Remove the object from the database.
|
void |
Database.renameDatabaseObject(SessionLocal session,
DbObject obj,
String newName)
Rename a database object.
|
void |
Database.renameDatabaseObject(SessionLocal session,
DbObject obj,
String newName)
Rename a database object.
|
void |
Database.updateMeta(SessionLocal session,
DbObject obj)
Update an object in the system table.
|
void |
Database.updateMeta(SessionLocal session,
DbObject obj)
Update an object in the system table.
|
| 构造器和说明 |
|---|
Comment(Database database,
int id,
DbObject obj) |
Comment(Database database,
int id,
DbObject obj) |
Right(Database db,
int id,
RightOwner grantee,
int grantedRight,
DbObject grantedObject) |
Right(Database db,
int id,
RightOwner grantee,
int grantedRight,
DbObject grantedObject) |
| 限定符和类型 | 方法和说明 |
|---|---|
HashSet<DbObject> |
ExpressionVisitor.getDependencies()
Get the dependency set.
|
HashSet<DbObject> |
ExpressionVisitor.getDependencies()
Get the dependency set.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
ExpressionVisitor.addDependency(DbObject obj)
Add a new dependency to the set of dependencies.
|
void |
ExpressionVisitor.addDependency(DbObject obj)
Add a new dependency to the set of dependencies.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static ExpressionVisitor |
ExpressionVisitor.getDependenciesVisitor(HashSet<DbObject> dependencies)
Create a new visitor object to collect dependencies.
|
static ExpressionVisitor |
ExpressionVisitor.getDependenciesVisitor(HashSet<DbObject> dependencies)
Create a new visitor object to collect dependencies.
|
| 限定符和类型 | 类和说明 |
|---|---|
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 |
QueryExpressionIndex
This object represents a virtual index for a query expression.
|
class |
RangeIndex
An index for the SYSTEM_RANGE table.
|
class |
VirtualConstructedTableIndex
An index for a virtual table that returns a result set.
|
class |
VirtualTableIndex
An base class for indexes of virtual tables.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
PgCatalogSchema
pg_catalog schema. |
class |
PgCatalogTable
This class is responsible to build the pg_catalog tables.
|
| 限定符和类型 | 类和说明 |
|---|---|
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.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
Constant
A user-defined constant as created by the SQL statement
CREATE CONSTANT
|
class |
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 SCHEMA
|
class |
SchemaObject
Any database object that is stored in a schema.
|
class |
Sequence
A sequence is created using the statement
CREATE SEQUENCE
|
class |
TriggerObject
A trigger is created using the statement
CREATE TRIGGER
|
class |
UserAggregate
Represents a user-defined aggregate function.
|
class |
UserDefinedFunction
User-defined Java function or aggregate function.
|
| 限定符和类型 | 方法和说明 |
|---|---|
ArrayList<DbObject> |
Schema.getChildren() |
ArrayList<DbObject> |
Schema.getChildren() |
| 限定符和类型 | 类和说明 |
|---|---|
class |
DataChangeDeltaTable
A data change delta table.
|
class |
DerivedTable
A derived 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 |
QueryExpressionTable
A derived table or view.
|
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.
|
| 限定符和类型 | 方法和说明 |
|---|---|
ArrayList<DbObject> |
Table.getChildren() |
ArrayList<DbObject> |
Table.getChildren() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
QueryExpressionTable.addDependencies(HashSet<DbObject> dependencies) |
void |
Table.addDependencies(HashSet<DbObject> dependencies)
Add all objects that this table depends on to the hash set.
|
void |
Table.addDependencies(HashSet<DbObject> dependencies)
Add all objects that this table depends on to the hash set.
|
void |
QueryExpressionTable.addDependencies(HashSet<DbObject> dependencies) |
Copyright © 2022. All rights reserved.