Package | Description |
---|---|
org.h2.index | |
org.h2.table |
Modifier and Type | Field and Description |
---|---|
protected IndexType |
BaseIndex.indexType |
Modifier and Type | Method and Description |
---|---|
static IndexType |
IndexType.createNonUnique(boolean persistent)
Create a non-unique index.
|
static IndexType |
IndexType.createNonUnique(boolean persistent,
boolean hash)
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) |
TreeIndex(RegularTable table,
int id,
String indexName,
IndexColumn[] columns,
IndexType indexType) |
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 © 2012 JBoss by Red Hat. All Rights Reserved.