Package | Description |
---|---|
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.
|
Modifier and Type | Field and Description |
---|---|
protected IndexType |
BaseIndex.indexType |
Modifier and Type | Method and Description |
---|---|
static IndexType |
IndexType.createAffinity()
Create an affinity index.
|
static IndexType |
IndexType.createNonUnique(boolean persistent)
Create a non-unique index.
|
static IndexType |
IndexType.createNonUnique(boolean persistent,
boolean hash,
boolean spatial)
Create a non-unique index.
|
static IndexType |
IndexType.createPrimaryKey(boolean persistent,
boolean hash)
Create a primary key index.
|
static IndexType |
IndexType.createScan(boolean persistent)
Create a scan pseudo-index.
|
static IndexType |
IndexType.createUnique(boolean persistent,
boolean hash)
Create a unique index.
|
IndexType |
MultiVersionIndex.getIndexType() |
IndexType |
Index.getIndexType()
Get the index type.
|
IndexType |
BaseIndex.getIndexType() |
Modifier and Type | Method and Description |
---|---|
protected void |
BaseIndex.initBaseIndex(Table newTable,
int id,
String name,
IndexColumn[] newIndexColumns,
IndexType newIndexType)
Initialize the base index.
|
Constructor and Description |
---|
HashIndex(RegularTable table,
int id,
String indexName,
IndexColumn[] columns,
IndexType indexType) |
LinkedIndex(TableLink table,
int id,
IndexColumn[] columns,
IndexType indexType) |
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) |
PageDelegateIndex(RegularTable table,
int id,
String name,
IndexType indexType,
PageDataIndex mainIndex,
boolean create,
Session session) |
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) |
Modifier and Type | Method and Description |
---|---|
Index |
MVTable.addIndex(Session session,
String indexName,
int indexId,
IndexColumn[] cols,
IndexType indexType,
boolean create,
String indexComment) |
Constructor and Description |
---|
MVDelegateIndex(MVTable table,
int id,
String name,
MVPrimaryIndex mainIndex,
IndexType indexType) |
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.
|
Modifier and Type | Method and Description |
---|---|
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) |
Copyright © 2020 JBoss by Red Hat. All rights reserved.