| 程序包 | 说明 |
|---|---|
| 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.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.
|
| 限定符和类型 | 类和说明 |
|---|---|
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.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
Database.addSchemaObject(SessionLocal session,
SchemaObject obj)
Add a schema object to the database.
|
void |
Database.addSchemaObject(SessionLocal session,
SchemaObject obj)
Add a schema object to the database.
|
Table |
Database.getDependentTable(SchemaObject obj,
Table except)
Get the first table that depends on this object.
|
Table |
Database.getDependentTable(SchemaObject obj,
Table except)
Get the first table that depends on this object.
|
void |
Database.removeSchemaObject(SessionLocal session,
SchemaObject obj)
Remove an object from the system table.
|
void |
Database.removeSchemaObject(SessionLocal session,
SchemaObject obj)
Remove an object from the system table.
|
void |
Database.renameSchemaObject(SessionLocal session,
SchemaObject obj,
String newName)
Rename a schema object.
|
void |
Database.renameSchemaObject(SessionLocal session,
SchemaObject obj,
String newName)
Rename a schema object.
|
| 限定符和类型 | 类和说明 |
|---|---|
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 |
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 |
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<SchemaObject> |
Schema.getAll(ArrayList<SchemaObject> addTo)
Get all objects.
|
ArrayList<SchemaObject> |
Schema.getAll(ArrayList<SchemaObject> addTo)
Get all objects.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
Schema.add(SchemaObject obj)
Add an object to this schema.
|
void |
Schema.add(SchemaObject obj)
Add an object to this schema.
|
void |
Schema.remove(SchemaObject obj)
Remove an object from this schema.
|
void |
Schema.remove(SchemaObject obj)
Remove an object from this schema.
|
void |
Schema.rename(SchemaObject obj,
String newName)
Rename an object.
|
void |
Schema.rename(SchemaObject obj,
String newName)
Rename an object.
|
| 限定符和类型 | 方法和说明 |
|---|---|
ArrayList<SchemaObject> |
Schema.getAll(ArrayList<SchemaObject> addTo)
Get all objects.
|
ArrayList<SchemaObject> |
Schema.getAll(ArrayList<SchemaObject> addTo)
Get all objects.
|
void |
Schema.getAll(int type,
ArrayList<SchemaObject> addTo)
Get all objects of the given type.
|
void |
Schema.getAll(int type,
ArrayList<SchemaObject> addTo)
Get all objects of the given type.
|
| 限定符和类型 | 类和说明 |
|---|---|
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.
|
Copyright © 2022. All rights reserved.