Package | Description |
---|---|
org.h2.command.ddl | |
org.h2.constraint | |
org.h2.engine | |
org.h2.index | |
org.h2.schema | |
org.h2.store | |
org.h2.table |
Modifier and Type | Method and Description |
---|---|
void |
AlterTableAddConstraint.setIndex(Index index) |
void |
AlterIndexRename.setOldIndex(Index index) |
void |
AlterTableAddConstraint.setRefIndex(Index refIndex) |
Modifier and Type | Method and Description |
---|---|
Index |
ConstraintUnique.getUniqueIndex() |
Index |
ConstraintReferential.getUniqueIndex() |
Index |
ConstraintCheck.getUniqueIndex() |
abstract Index |
Constraint.getUniqueIndex()
Get the unique index used to enforce this constraint, or null if no index
is used.
|
Modifier and Type | Method and Description |
---|---|
void |
ConstraintUnique.setIndex(Index index,
boolean isOwner)
Set the index to use for this unique constraint.
|
void |
ConstraintReferential.setIndex(Index index,
boolean isOwner)
Set the index to use for this constraint.
|
void |
ConstraintUnique.setIndexOwner(Index index) |
void |
ConstraintReferential.setIndexOwner(Index index) |
void |
ConstraintCheck.setIndexOwner(Index index) |
abstract void |
Constraint.setIndexOwner(Index index)
This index is now the owner of the specified index.
|
void |
ConstraintReferential.setRefIndex(Index refIndex,
boolean isRefOwner)
Set the index of the referenced table to use for this constraint.
|
boolean |
ConstraintUnique.usesIndex(Index idx) |
boolean |
ConstraintReferential.usesIndex(Index idx) |
boolean |
ConstraintCheck.usesIndex(Index index) |
abstract boolean |
Constraint.usesIndex(Index index)
Check if this constraint needs the specified index.
|
Modifier and Type | Method and Description |
---|---|
Index |
Session.findLocalTempTableIndex(String name)
Get the local temporary index if one exists with that name, or null if
not.
|
Modifier and Type | Method and Description |
---|---|
HashMap<String,Index> |
Session.getLocalTempTableIndexes() |
Modifier and Type | Method and Description |
---|---|
void |
Session.addLocalTempTableIndex(Index index)
Add a local temporary index to this session.
|
void |
Session.removeLocalTempTableIndex(Index index)
Drop and remove the given local temporary index from this session.
|
Modifier and Type | Class and Description |
---|---|
class |
BaseIndex
Most index implementations extend the base index.
|
class |
FunctionIndex
An index for a function that returns a result set.
|
class |
HashIndex
An unique index based on an in-memory hash map.
|
class |
LinkedIndex
A linked index is a index for a linked (remote) table.
|
class |
MetaIndex
The index implementation for meta data tables.
|
class |
MultiVersionIndex
A multi-version index is a combination of a regular index,
and a in-memory tree index that contains uncommitted changes.
|
class |
NonUniqueHashIndex
A non-unique index based on an in-memory hash map.
|
class |
PageBtreeIndex
This is the most common type of index, a b tree index.
|
class |
PageDataIndex
The scan index allows to access a row by key.
|
class |
PageDelegateIndex
An index that delegates indexing to the page data index.
|
class |
PageIndex
A page store index.
|
class |
RangeIndex
An index for the SYSTEM_RANGE table.
|
class |
ScanIndex
The scan index is not really an 'index' in the strict sense, because it can
not be used for direct lookup.
|
class |
TreeIndex
The tree index is an in-memory index based on a binary AVL trees.
|
class |
ViewIndex
This object represents a virtual index for a query.
|
Modifier and Type | Method and Description |
---|---|
Index |
MultiVersionIndex.getBaseIndex() |
Modifier and Type | Method and Description |
---|---|
void |
IndexCursor.setIndex(Index index) |
Constructor and Description |
---|
MultiVersionIndex(Index base,
RegularTable table) |
Modifier and Type | Method and Description |
---|---|
Index |
Schema.findIndex(Session session,
String name)
Try to find an index with this name.
|
Index |
Schema.getIndex(String name)
Get the index with the given name.
|
Modifier and Type | Method and Description |
---|---|
void |
PageStore.removeMeta(Index index,
Session session)
Remove the meta data of an index.
|
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) |
Index |
Table.findPrimaryKey()
Get the primary key index if there is one, or null if there is none.
|
Index |
TableFilter.getIndex() |
Index |
PlanItem.getIndex() |
Index |
Table.getIndexForColumn(Column column,
boolean first)
Get the index that has the given column as the first element.
|
Index |
Table.getPrimaryKey() |
Index |
TableView.getScanIndex(Session session) |
Index |
TableLink.getScanIndex(Session session) |
abstract Index |
Table.getScanIndex(Session session)
Get the scan index to iterate through all rows.
|
Index |
RegularTable.getScanIndex(Session session) |
Index |
RangeTable.getScanIndex(Session session) |
Index |
MetaTable.getScanIndex(Session session) |
Index |
FunctionTable.getScanIndex(Session session) |
Index |
TableView.getUniqueIndex() |
Index |
TableLink.getUniqueIndex() |
abstract Index |
Table.getUniqueIndex()
Get any unique index for this table if one exists.
|
Index |
RegularTable.getUniqueIndex() |
Index |
RangeTable.getUniqueIndex() |
Index |
MetaTable.getUniqueIndex() |
Index |
FunctionTable.getUniqueIndex() |
Modifier and Type | Method and Description |
---|---|
ArrayList<Index> |
TableView.getIndexes() |
ArrayList<Index> |
TableLink.getIndexes() |
abstract ArrayList<Index> |
Table.getIndexes()
Get all indexes for this table.
|
ArrayList<Index> |
RegularTable.getIndexes() |
ArrayList<Index> |
RangeTable.getIndexes() |
ArrayList<Index> |
MetaTable.getIndexes() |
ArrayList<Index> |
FunctionTable.getIndexes() |
Modifier and Type | Method and Description |
---|---|
void |
Table.removeIndex(Index index)
Remove the given index from the list.
|
void |
Table.removeIndexOrTransferOwnership(Session session,
Index index)
If the index is still required by a constraint, transfer the ownership to
it.
|
void |
TableFilter.setIndex(Index index) |
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.