|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Index | |
---|---|
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.engine | Contains high level classes of the database and classes that don't fit in another sub-package. |
org.h2.index | Various table index implementations, as well as cursors to navigate in an index. |
org.h2.schema | Schema implementation and objects that are stored in a schema (for example, sequences and constants). |
org.h2.store | Storage abstractions, such as a file with a cache, or a class to convert values to a byte array and vice versa. |
org.h2.table | Classes related to a table and table meta data. |
Uses of Index in org.h2.command.ddl |
---|
Methods in org.h2.command.ddl with parameters of type Index | |
---|---|
void |
AlterTableAddConstraint.setIndex(Index index)
|
void |
AlterIndexRename.setOldIndex(Index index)
|
void |
AlterTableAddConstraint.setRefIndex(Index refIndex)
|
Uses of Index in org.h2.constraint |
---|
Methods in org.h2.constraint that return Index | |
---|---|
Index |
ConstraintUnique.getUniqueIndex()
|
Index |
ConstraintCheck.getUniqueIndex()
|
abstract Index |
Constraint.getUniqueIndex()
Get the unique index used to enforce this constraint, or null if no index is used. |
Index |
ConstraintReferential.getUniqueIndex()
|
Methods in org.h2.constraint with parameters of type Index | |
---|---|
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 |
ConstraintCheck.setIndexOwner(Index index)
|
abstract void |
Constraint.setIndexOwner(Index index)
This index is now the owner of the specified index. |
void |
ConstraintReferential.setIndexOwner(Index 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 |
ConstraintCheck.usesIndex(Index index)
|
abstract boolean |
Constraint.usesIndex(Index index)
Check if this constraint needs the specified index. |
boolean |
ConstraintReferential.usesIndex(Index idx)
|
Uses of Index in org.h2.engine |
---|
Methods in org.h2.engine that return Index | |
---|---|
Index |
Session.findLocalTempTableIndex(java.lang.String name)
Get the local temporary index if one exists with that name, or null if not. |
Methods in org.h2.engine that return types with arguments of type Index | |
---|---|
java.util.HashMap<java.lang.String,Index> |
Session.getLocalTempTableIndexes()
|
Methods in org.h2.engine with parameters of type Index | |
---|---|
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. |
Uses of Index in org.h2.index |
---|
Subinterfaces of Index in org.h2.index | |
---|---|
interface |
RowIndex
An index that can address individual rows directly. |
Classes in org.h2.index that implement Index | |
---|---|
class |
BaseHashIndex
Base of hash indexes. |
class |
BaseIndex
Most index implementations extend the base index. |
class |
BtreeIndex
This is the most common type of index, a b-tree 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. |
Methods in org.h2.index with parameters of type Index | |
---|---|
void |
IndexCursor.setIndex(Index index)
|
Constructors in org.h2.index with parameters of type Index | |
---|---|
MultiVersionIndex(Index base,
TableData table)
|
Uses of Index in org.h2.schema |
---|
Methods in org.h2.schema that return Index | |
---|---|
Index |
Schema.findIndex(Session session,
java.lang.String name)
Try to find an index with this name. |
Index |
Schema.getIndex(java.lang.String name)
Get the index with the given name. |
Uses of Index in org.h2.store |
---|
Methods in org.h2.store with parameters of type Index | |
---|---|
void |
PageStore.removeMeta(Index index,
Session session)
Remove the meta data of an index. |
Uses of Index in org.h2.table |
---|
Methods in org.h2.table that return Index | |
---|---|
Index |
RangeTable.addIndex(Session session,
java.lang.String indexName,
int indexId,
IndexColumn[] cols,
IndexType indexType,
int headPos,
java.lang.String comment)
|
Index |
TableLink.addIndex(Session session,
java.lang.String indexName,
int indexId,
IndexColumn[] cols,
IndexType indexType,
int headPos,
java.lang.String comment)
|
abstract Index |
Table.addIndex(Session session,
java.lang.String indexName,
int indexId,
IndexColumn[] cols,
IndexType indexType,
int headPos,
java.lang.String comment)
Create an index for this table |
Index |
TableView.addIndex(Session session,
java.lang.String indexName,
int indexId,
IndexColumn[] cols,
IndexType indexType,
int headPos,
java.lang.String comment)
|
Index |
FunctionTable.addIndex(Session session,
java.lang.String indexName,
int indexId,
IndexColumn[] cols,
IndexType indexType,
int headPos,
java.lang.String comment)
|
Index |
MetaTable.addIndex(Session session,
java.lang.String indexName,
int indexId,
IndexColumn[] cols,
IndexType indexType,
int headPos,
java.lang.String comment)
|
Index |
TableData.addIndex(Session session,
java.lang.String indexName,
int indexId,
IndexColumn[] cols,
IndexType indexType,
int headPos,
java.lang.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 |
RangeTable.getScanIndex(Session session)
|
Index |
TableLink.getScanIndex(Session session)
|
abstract Index |
Table.getScanIndex(Session session)
Get the scan index to iterate through all rows. |
Index |
TableView.getScanIndex(Session session)
|
Index |
FunctionTable.getScanIndex(Session session)
|
Index |
MetaTable.getScanIndex(Session session)
|
Index |
TableData.getScanIndex(Session session)
|
Index |
RangeTable.getUniqueIndex()
|
Index |
TableLink.getUniqueIndex()
|
abstract Index |
Table.getUniqueIndex()
Get any unique index for this table if one exists. |
Index |
TableView.getUniqueIndex()
|
Index |
FunctionTable.getUniqueIndex()
|
Index |
MetaTable.getUniqueIndex()
|
Index |
TableData.getUniqueIndex()
|
Methods in org.h2.table that return types with arguments of type Index | |
---|---|
ObjectArray<Index> |
RangeTable.getIndexes()
|
ObjectArray<Index> |
TableLink.getIndexes()
|
abstract ObjectArray<Index> |
Table.getIndexes()
Get all indexes for this table. |
ObjectArray<Index> |
TableView.getIndexes()
|
ObjectArray<Index> |
FunctionTable.getIndexes()
|
ObjectArray<Index> |
MetaTable.getIndexes()
|
ObjectArray<Index> |
TableData.getIndexes()
|
Methods in org.h2.table with parameters of type Index | |
---|---|
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)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |