| 程序包 | 说明 |
|---|---|
| org.h2.command.ddl |
Contains DDL (data definition language) and related SQL
statements.
|
| org.h2.constraint |
Database constraints such as check constraints, unique
constraints, and referential constraints.
|
| org.h2.index |
Various table index implementations, as well as cursors to
navigate in an index.
|
| org.h2.mvstore.db |
Helper classes to use the MVStore in the H2 database.
|
| org.h2.table |
Classes related to a table and table meta data.
|
| 限定符和类型 | 方法和说明 |
|---|---|
IndexColumn[] |
AlterTableAddConstraint.getIndexColumns() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
CreateIndex.setIndexColumns(IndexColumn[] columns) |
void |
AlterTableAddConstraint.setIndexColumns(IndexColumn[] indexColumns) |
void |
AlterTableAddConstraint.setRefIndexColumns(IndexColumn[] indexColumns) |
| 限定符和类型 | 方法和说明 |
|---|---|
IndexColumn[] |
ConstraintUnique.getColumns() |
IndexColumn[] |
ConstraintReferential.getColumns() |
IndexColumn[] |
ConstraintReferential.getRefColumns() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
ConstraintUnique.setColumns(IndexColumn[] columns) |
void |
ConstraintReferential.setColumns(IndexColumn[] cols) |
void |
ConstraintReferential.setRefColumns(IndexColumn[] refCols) |
| 限定符和类型 | 字段和说明 |
|---|---|
protected IndexColumn[] |
BaseIndex.indexColumns |
| 限定符和类型 | 方法和说明 |
|---|---|
IndexColumn[] |
MultiVersionIndex.getIndexColumns() |
IndexColumn[] |
Index.getIndexColumns()
Get the indexed columns as index columns (with ordering information).
|
IndexColumn[] |
BaseIndex.getIndexColumns() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected static void |
BaseIndex.checkIndexColumnTypes(IndexColumn[] columns)
Check that the index columns are not CLOB or BLOB.
|
protected void |
BaseIndex.initBaseIndex(Table newTable,
int id,
String name,
IndexColumn[] newIndexColumns,
IndexType newIndexType)
Initialize the base index.
|
| 构造器和说明 |
|---|
FunctionIndex(FunctionTable functionTable,
IndexColumn[] columns) |
HashIndex(RegularTable table,
int id,
String indexName,
IndexColumn[] columns,
IndexType indexType) |
LinkedIndex(TableLink table,
int id,
IndexColumn[] columns,
IndexType indexType) |
MetaIndex(MetaTable meta,
IndexColumn[] columns,
boolean scan) |
NonUniqueHashIndex(RegularTable table,
int id,
String indexName,
IndexColumn[] columns,
IndexType indexType) |
PageBtreeIndex(RegularTable table,
int id,
String indexName,
IndexColumn[] columns,
IndexType indexType,
boolean create,
Session session) |
PageDataIndex(RegularTable table,
int id,
IndexColumn[] columns,
IndexType indexType,
boolean create,
Session session) |
RangeIndex(RangeTable table,
IndexColumn[] columns) |
ScanIndex(RegularTable table,
int id,
IndexColumn[] columns,
IndexType indexType) |
SpatialTreeIndex(Table table,
int id,
String indexName,
IndexColumn[] columns,
IndexType indexType,
boolean persistent,
boolean create,
Session session)
Constructor.
|
TreeIndex(RegularTable table,
int id,
String indexName,
IndexColumn[] columns,
IndexType indexType) |
| 限定符和类型 | 方法和说明 |
|---|---|
Index |
MVTable.addIndex(Session session,
String indexName,
int indexId,
IndexColumn[] cols,
IndexType indexType,
boolean create,
String indexComment) |
| 构造器和说明 |
|---|
MVPrimaryIndex(Database db,
MVTable table,
int id,
IndexColumn[] columns,
IndexType indexType) |
MVSecondaryIndex(Database db,
MVTable table,
int id,
String indexName,
IndexColumn[] columns,
IndexType indexType) |
MVSpatialIndex(Database db,
MVTable table,
int id,
String indexName,
IndexColumn[] columns,
IndexType indexType)
Constructor.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static IndexColumn[] |
IndexColumn.wrap(Column[] columns)
Create an array of index columns from a list of columns.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Index |
TableView.addIndex(Session session,
String indexName,
int indexId,
IndexColumn[] cols,
IndexType indexType,
boolean create,
String indexComment) |
Index |
TableLink.addIndex(Session session,
String indexName,
int indexId,
IndexColumn[] cols,
IndexType indexType,
boolean create,
String indexComment) |
abstract Index |
Table.addIndex(Session session,
String indexName,
int indexId,
IndexColumn[] cols,
IndexType indexType,
boolean create,
String indexComment)
Create an index for this table
|
Index |
RegularTable.addIndex(Session session,
String indexName,
int indexId,
IndexColumn[] cols,
IndexType indexType,
boolean create,
String indexComment) |
Index |
RangeTable.addIndex(Session session,
String indexName,
int indexId,
IndexColumn[] cols,
IndexType indexType,
boolean create,
String indexComment) |
Index |
MetaTable.addIndex(Session session,
String indexName,
int indexId,
IndexColumn[] cols,
IndexType indexType,
boolean create,
String indexComment) |
Index |
FunctionTable.addIndex(Session session,
String indexName,
int indexId,
IndexColumn[] cols,
IndexType indexType,
boolean create,
String indexComment) |
static void |
IndexColumn.mapColumns(IndexColumn[] indexColumns,
Table table)
Map the columns using the column names and the specified table.
|
Copyright © 2017. All rights reserved.