| 程序包 | 说明 |
|---|---|
| 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.result |
Implementation of row and internal result sets.
|
| org.h2.table |
Classes related to a table and table meta data.
|
| 限定符和类型 | 方法和说明 |
|---|---|
IndexColumn[] |
AlterTableAddConstraint.getIndexColumns() |
IndexColumn[] |
AlterTableAddConstraint.getIndexColumns() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
AlterTableAddConstraint.setIndexColumns(IndexColumn[] indexColumns) |
void |
CreateIndex.setIndexColumns(IndexColumn[] columns) |
void |
CreateIndex.setIndexColumns(IndexColumn[] columns) |
void |
AlterTableAddConstraint.setIndexColumns(IndexColumn[] indexColumns) |
void |
AlterTableAddConstraint.setRefIndexColumns(IndexColumn[] indexColumns) |
void |
AlterTableAddConstraint.setRefIndexColumns(IndexColumn[] indexColumns) |
| 限定符和类型 | 方法和说明 |
|---|---|
IndexColumn[] |
ConstraintReferential.getColumns() |
IndexColumn[] |
ConstraintUnique.getColumns() |
IndexColumn[] |
ConstraintUnique.getColumns() |
IndexColumn[] |
ConstraintReferential.getColumns() |
IndexColumn[] |
ConstraintReferential.getRefColumns() |
IndexColumn[] |
ConstraintReferential.getRefColumns() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
ConstraintReferential.setColumns(IndexColumn[] cols) |
void |
ConstraintUnique.setColumns(IndexColumn[] columns) |
void |
ConstraintUnique.setColumns(IndexColumn[] columns) |
void |
ConstraintReferential.setColumns(IndexColumn[] cols) |
void |
ConstraintReferential.setRefColumns(IndexColumn[] refCols) |
void |
ConstraintReferential.setRefColumns(IndexColumn[] refCols) |
| 限定符和类型 | 字段和说明 |
|---|---|
protected IndexColumn[] |
Index.indexColumns
Columns of this index.
|
protected IndexColumn[] |
Index.indexColumns
Columns of this index.
|
| 限定符和类型 | 方法和说明 |
|---|---|
IndexColumn[] |
Index.getIndexColumns()
Get the indexed columns as index columns (with ordering information).
|
IndexColumn[] |
Index.getIndexColumns()
Get the indexed columns as index columns (with ordering information).
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected static void |
Index.checkIndexColumnTypes(IndexColumn[] columns)
Check that the index columns are not CLOB or BLOB.
|
protected static void |
Index.checkIndexColumnTypes(IndexColumn[] columns)
Check that the index columns are not CLOB or BLOB.
|
| 构造器和说明 |
|---|
Index(Table newTable,
int id,
String name,
IndexColumn[] newIndexColumns,
int uniqueColumnCount,
IndexType newIndexType)
Initialize the index.
|
Index(Table newTable,
int id,
String name,
IndexColumn[] newIndexColumns,
int uniqueColumnCount,
IndexType newIndexType)
Initialize the index.
|
LinkedIndex(TableLink table,
int id,
IndexColumn[] columns,
int uniqueColumnCount,
IndexType indexType) |
LinkedIndex(TableLink table,
int id,
IndexColumn[] columns,
int uniqueColumnCount,
IndexType indexType) |
MetaIndex(MetaTable meta,
IndexColumn[] columns,
boolean scan) |
MetaIndex(MetaTable meta,
IndexColumn[] columns,
boolean scan) |
RangeIndex(RangeTable table,
IndexColumn[] columns) |
RangeIndex(RangeTable table,
IndexColumn[] columns) |
VirtualConstructedTableIndex(VirtualConstructedTable table,
IndexColumn[] columns) |
VirtualConstructedTableIndex(VirtualConstructedTable table,
IndexColumn[] columns) |
VirtualTableIndex(VirtualTable table,
String name,
IndexColumn[] columns) |
VirtualTableIndex(VirtualTable table,
String name,
IndexColumn[] columns) |
| 限定符和类型 | 方法和说明 |
|---|---|
Index |
MVTable.addIndex(SessionLocal session,
String indexName,
int indexId,
IndexColumn[] cols,
int uniqueColumnCount,
IndexType indexType,
boolean create,
String indexComment) |
Index |
MVTable.addIndex(SessionLocal session,
String indexName,
int indexId,
IndexColumn[] cols,
int uniqueColumnCount,
IndexType indexType,
boolean create,
String indexComment) |
| 构造器和说明 |
|---|
MVIndex(Table newTable,
int id,
String name,
IndexColumn[] newIndexColumns,
int uniqueColumnCount,
IndexType newIndexType) |
MVIndex(Table newTable,
int id,
String name,
IndexColumn[] newIndexColumns,
int uniqueColumnCount,
IndexType newIndexType) |
MVPrimaryIndex(Database db,
MVTable table,
int id,
IndexColumn[] columns,
IndexType indexType) |
MVPrimaryIndex(Database db,
MVTable table,
int id,
IndexColumn[] columns,
IndexType indexType) |
MVSecondaryIndex(Database db,
MVTable table,
int id,
String indexName,
IndexColumn[] columns,
int uniqueColumnCount,
IndexType indexType) |
MVSecondaryIndex(Database db,
MVTable table,
int id,
String indexName,
IndexColumn[] columns,
int uniqueColumnCount,
IndexType indexType) |
MVSpatialIndex(Database db,
MVTable table,
int id,
String indexName,
IndexColumn[] columns,
int uniqueColumnCount,
IndexType indexType)
Constructor.
|
MVSpatialIndex(Database db,
MVTable table,
int id,
String indexName,
IndexColumn[] columns,
int uniqueColumnCount,
IndexType indexType)
Constructor.
|
| 限定符和类型 | 方法和说明 |
|---|---|
RowFactory |
RowFactory.createRowFactory(CastDataProvider provider,
CompareMode compareMode,
DataHandler handler,
Typed[] columns,
IndexColumn[] indexColumns,
boolean storeKeys)
Create a new row factory.
|
RowFactory |
RowFactory.DefaultRowFactory.createRowFactory(CastDataProvider provider,
CompareMode compareMode,
DataHandler handler,
Typed[] columns,
IndexColumn[] indexColumns,
boolean storeKeys) |
RowFactory |
RowFactory.createRowFactory(CastDataProvider provider,
CompareMode compareMode,
DataHandler handler,
Typed[] columns,
IndexColumn[] indexColumns,
boolean storeKeys)
Create a new row factory.
|
RowFactory |
RowFactory.DefaultRowFactory.createRowFactory(CastDataProvider provider,
CompareMode compareMode,
DataHandler handler,
Typed[] columns,
IndexColumn[] indexColumns,
boolean storeKeys) |
| 限定符和类型 | 方法和说明 |
|---|---|
static IndexColumn[] |
IndexColumn.wrap(Column[] columns)
Create an array of index columns from a list of columns.
|
static IndexColumn[] |
IndexColumn.wrap(Column[] columns)
Create an array of index columns from a list of columns.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Index |
MetaTable.addIndex(SessionLocal session,
String indexName,
int indexId,
IndexColumn[] cols,
int uniqueColumnCount,
IndexType indexType,
boolean create,
String indexComment) |
Index |
QueryExpressionTable.addIndex(SessionLocal session,
String indexName,
int indexId,
IndexColumn[] cols,
int uniqueColumnCount,
IndexType indexType,
boolean create,
String indexComment) |
abstract Index |
Table.addIndex(SessionLocal session,
String indexName,
int indexId,
IndexColumn[] cols,
int uniqueColumnCount,
IndexType indexType,
boolean create,
String indexComment)
Create an index for this table
|
Index |
TableLink.addIndex(SessionLocal session,
String indexName,
int indexId,
IndexColumn[] cols,
int uniqueColumnCount,
IndexType indexType,
boolean create,
String indexComment) |
Index |
VirtualTable.addIndex(SessionLocal session,
String indexName,
int indexId,
IndexColumn[] cols,
int uniqueColumnCount,
IndexType indexType,
boolean create,
String indexComment) |
Index |
VirtualTable.addIndex(SessionLocal session,
String indexName,
int indexId,
IndexColumn[] cols,
int uniqueColumnCount,
IndexType indexType,
boolean create,
String indexComment) |
Index |
TableLink.addIndex(SessionLocal session,
String indexName,
int indexId,
IndexColumn[] cols,
int uniqueColumnCount,
IndexType indexType,
boolean create,
String indexComment) |
abstract Index |
Table.addIndex(SessionLocal session,
String indexName,
int indexId,
IndexColumn[] cols,
int uniqueColumnCount,
IndexType indexType,
boolean create,
String indexComment)
Create an index for this table
|
Index |
QueryExpressionTable.addIndex(SessionLocal session,
String indexName,
int indexId,
IndexColumn[] cols,
int uniqueColumnCount,
IndexType indexType,
boolean create,
String indexComment) |
Index |
MetaTable.addIndex(SessionLocal session,
String indexName,
int indexId,
IndexColumn[] cols,
int uniqueColumnCount,
IndexType indexType,
boolean create,
String indexComment) |
static int |
TableBase.getMainIndexColumn(IndexType indexType,
IndexColumn[] cols)
Returns main index column if index is an primary key index and has only
one column with _ROWID_ compatible data type.
|
static int |
TableBase.getMainIndexColumn(IndexType indexType,
IndexColumn[] cols)
Returns main index column if index is an primary key index and has only
one column with _ROWID_ compatible data type.
|
static void |
IndexColumn.mapColumns(IndexColumn[] indexColumns,
Table table)
Map the columns using the column names and the specified table.
|
static void |
IndexColumn.mapColumns(IndexColumn[] indexColumns,
Table table)
Map the columns using the column names and the specified table.
|
static StringBuilder |
IndexColumn.writeColumns(StringBuilder builder,
IndexColumn[] columns,
int sqlFlags)
Appends the specified columns to the specified builder.
|
static StringBuilder |
IndexColumn.writeColumns(StringBuilder builder,
IndexColumn[] columns,
int sqlFlags)
Appends the specified columns to the specified builder.
|
static StringBuilder |
IndexColumn.writeColumns(StringBuilder builder,
IndexColumn[] columns,
int startOffset,
int endOffset,
int sqlFlags)
Appends the specified columns to the specified builder.
|
static StringBuilder |
IndexColumn.writeColumns(StringBuilder builder,
IndexColumn[] columns,
int startOffset,
int endOffset,
int sqlFlags)
Appends the specified columns to the specified builder.
|
static StringBuilder |
IndexColumn.writeColumns(StringBuilder builder,
IndexColumn[] columns,
String separator,
String suffix,
int sqlFlags)
Appends the specified columns to the specified builder.
|
static StringBuilder |
IndexColumn.writeColumns(StringBuilder builder,
IndexColumn[] columns,
String separator,
String suffix,
int sqlFlags)
Appends the specified columns to the specified builder.
|
Copyright © 2022. All rights reserved.