Uses of Class
org.h2.index.Index
-
Packages that use Index Package Description org.h2.command.ddl Contains DDL (data definition language) and related SQL statements.org.h2.command.dml Contains DML (data manipulation language) and related SQL statements.org.h2.command.query Contains queries.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.expression.aggregate Aggregate functions.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.schema Schema implementation and objects that are stored in a schema (for example, sequences and constants).org.h2.table Classes related to a table and table meta data. -
-
Uses of Index in org.h2.command.ddl
Fields in org.h2.command.ddl declared as Index Modifier and Type Field Description private Index
AlterTableAddConstraint. index
private Index
AlterTableAddConstraint. refIndex
Fields in org.h2.command.ddl with type parameters of type Index Modifier and Type Field Description private java.util.ArrayList<Index>
AlterTableAddConstraint. createdIndexes
Methods in org.h2.command.ddl that return Index Modifier and Type Method Description private Index
AlterTableAddConstraint. createIndex(Table t, IndexColumn[] cols, boolean unique)
private static Index
AlterTableAddConstraint. getIndex(Table t, IndexColumn[] cols, boolean unique)
Methods in org.h2.command.ddl with parameters of type Index Modifier and Type Method Description private static boolean
AlterTableAddConstraint. canUseIndex(Index index, Table table, IndexColumn[] cols, boolean unique)
private ConstraintUnique
AlterTableAddConstraint. createUniqueConstraint(Table table, Index index, IndexColumn[] indexColumns, boolean forForeignKey)
void
AlterTableAddConstraint. setIndex(Index index)
void
AlterTableAddConstraint. setRefIndex(Index refIndex)
-
Uses of Index in org.h2.command.dml
Methods in org.h2.command.dml with parameters of type Index Modifier and Type Method Description private Expression
Insert. prepareUpdateCondition(Index foundIndex, Expression[] row)
-
Uses of Index in org.h2.command.query
Methods in org.h2.command.query that return Index Modifier and Type Method Description private Index
Select. getGroupSortedIndex()
private Index
Select. getSortIndex()
Get the index that matches the ORDER BY list, if one exists.Methods in org.h2.command.query with parameters of type Index Modifier and Type Method Description private boolean
Select. isGroupSortedIndex(TableFilter tableFilter, Index index)
-
Uses of Index in org.h2.constraint
Fields in org.h2.constraint declared as Index Modifier and Type Field Description private Index
ConstraintReferential. index
private Index
ConstraintUnique. index
Methods in org.h2.constraint that return Index Modifier and Type Method Description Index
Constraint. getIndex()
Get the index of this constraint in the source table, or null if no index is used.Index
ConstraintReferential. getIndex()
Index
ConstraintUnique. getIndex()
Methods in org.h2.constraint with parameters of type Index Modifier and Type Method Description private boolean
ConstraintReferential. existsRow(SessionLocal session, Index searchIndex, SearchRow check, Row excluding)
private java.lang.String
ConstraintReferential. getShortDescription(Index searchIndex, SearchRow check)
Get a short description of the constraint.void
ConstraintReferential. setIndex(Index index, boolean isOwner)
Set the index to use for this constraint.void
ConstraintUnique. setIndex(Index index, boolean isOwner)
Set the index to use for this unique constraint.abstract void
Constraint. setIndexOwner(Index index)
This index is now the owner of the specified index.void
ConstraintCheck. setIndexOwner(Index index)
void
ConstraintDomain. setIndexOwner(Index index)
void
ConstraintReferential. setIndexOwner(Index index)
void
ConstraintUnique. setIndexOwner(Index index)
abstract boolean
Constraint. usesIndex(Index index)
Check if this constraint needs the specified index.boolean
ConstraintCheck. usesIndex(Index index)
boolean
ConstraintDomain. usesIndex(Index index)
boolean
ConstraintReferential. usesIndex(Index idx)
boolean
ConstraintUnique. usesIndex(Index idx)
-
Uses of Index in org.h2.engine
Fields in org.h2.engine declared as Index Modifier and Type Field Description private Index
Database. metaIdIndex
Fields in org.h2.engine with type parameters of type Index Modifier and Type Field Description private java.util.HashMap<java.lang.String,Index>
SessionLocal. localTempTableIndexes
Methods in org.h2.engine that return Index Modifier and Type Method Description Index
SessionLocal. 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 Modifier and Type Method Description java.util.HashMap<java.lang.String,Index>
SessionLocal. getLocalTempTableIndexes()
Methods in org.h2.engine with parameters of type Index Modifier and Type Method Description void
SessionLocal. addLocalTempTableIndex(Index index)
Add a local temporary index to this session.void
SessionLocal. removeLocalTempTableIndex(Index index)
Drop and remove the given local temporary index from this session. -
Uses of Index in org.h2.expression.aggregate
Methods in org.h2.expression.aggregate that return Index Modifier and Type Method Description (package private) static Index
Percentile. getColumnIndex(Database database, Expression on)
Get the index (if any) for the column specified in the inverse distribution function.(package private) static Index
AggregateDataEnvelope. getGeometryColumnIndex(Expression on)
Get the index (if any) for the column specified in the geometry aggregate.private Index
Aggregate. getMinMaxColumnIndex()
Methods in org.h2.expression.aggregate with parameters of type Index Modifier and Type Method Description private static boolean
Percentile. isNullsLast(DefaultNullOrdering defaultNullOrdering, Index index)
-
Uses of Index in org.h2.index
Subclasses of Index in org.h2.index Modifier and Type Class Description class
DualIndex
An index for the DUAL table.class
LinkedIndex
A linked index is a index for a linked (remote) table.class
MetaIndex
The index implementation for meta data tables.class
RangeIndex
An index for the SYSTEM_RANGE table.class
ViewIndex
This object represents a virtual index for a query.class
VirtualConstructedTableIndex
An index for a virtual table that returns a result set.class
VirtualTableIndex
An base class for indexes of virtual tables.Fields in org.h2.index declared as Index Modifier and Type Field Description private Index
IndexCursor. index
Methods in org.h2.index with parameters of type Index Modifier and Type Method Description void
IndexCursor. setIndex(Index index)
-
Uses of Index in org.h2.mvstore.db
Subclasses of Index in org.h2.mvstore.db Modifier and Type Class Description class
MVDelegateIndex
An index that delegates indexing to another index.class
MVIndex<K,V>
An index that stores the data in an MVStore.class
MVPrimaryIndex
A table stored in a MVStore.class
MVSecondaryIndex
An index stored in a MVStore.class
MVSpatialIndex
This is an index based on a MVRTreeMap.Fields in org.h2.mvstore.db with type parameters of type Index Modifier and Type Field Description private java.util.ArrayList<Index>
MVTable. indexes
Methods in org.h2.mvstore.db that return Index Modifier and Type Method Description Index
MVTable. addIndex(SessionLocal session, java.lang.String indexName, int indexId, IndexColumn[] cols, int uniqueColumnCount, IndexType indexType, boolean create, java.lang.String indexComment)
Index
MVTable. getScanIndex(SessionLocal session)
Methods in org.h2.mvstore.db that return types with arguments of type Index Modifier and Type Method Description java.util.ArrayList<Index>
MVTable. getIndexes()
Methods in org.h2.mvstore.db with parameters of type Index Modifier and Type Method Description private static void
MVTable. addRowsToIndex(SessionLocal session, java.util.ArrayList<Row> list, Index index)
Appends the specified rows to the specified index.private void
MVTable. rebuildIndexBuffered(SessionLocal session, Index index)
private static void
MVTable. sortRows(java.util.ArrayList<? extends SearchRow> list, Index index)
Sorts the specified list of rows for a specified index. -
Uses of Index in org.h2.schema
Fields in org.h2.schema with type parameters of type Index Modifier and Type Field Description private java.util.concurrent.ConcurrentHashMap<java.lang.String,Index>
Schema. indexes
Methods in org.h2.schema that return Index Modifier and Type Method Description Index
Schema. findIndex(SessionLocal 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.Methods in org.h2.schema that return types with arguments of type Index Modifier and Type Method Description java.util.Collection<Index>
Schema. getAllIndexes()
-
Uses of Index in org.h2.table
Fields in org.h2.table declared as Index Modifier and Type Field Description private Index
PlanItem. index
private Index
TableFilter. index
Fields in org.h2.table with type parameters of type Index Modifier and Type Field Description private java.util.ArrayList<Index>
TableLink. indexes
Methods in org.h2.table that return Index Modifier and Type Method Description Index
MetaTable. addIndex(SessionLocal session, java.lang.String indexName, int indexId, IndexColumn[] cols, int uniqueColumnCount, IndexType indexType, boolean create, java.lang.String indexComment)
abstract Index
Table. addIndex(SessionLocal session, java.lang.String indexName, int indexId, IndexColumn[] cols, int uniqueColumnCount, IndexType indexType, boolean create, java.lang.String indexComment)
Create an index for this tableIndex
TableLink. addIndex(SessionLocal session, java.lang.String indexName, int indexId, IndexColumn[] cols, int uniqueColumnCount, IndexType indexType, boolean create, java.lang.String indexComment)
Index
TableView. addIndex(SessionLocal session, java.lang.String indexName, int indexId, IndexColumn[] cols, int uniqueColumnCount, IndexType indexType, boolean create, java.lang.String indexComment)
Index
VirtualTable. addIndex(SessionLocal session, java.lang.String indexName, int indexId, IndexColumn[] cols, int uniqueColumnCount, IndexType indexType, boolean create, java.lang.String indexComment)
Index
Table. findPrimaryKey()
Get the primary key index if there is one, or null if there is none.Index
PlanItem. getIndex()
Index
Table. getIndex(java.lang.String indexName)
Get an index by name.Index
TableFilter. getIndex()
Index
Table. getIndexForColumn(Column column, boolean needGetFirstOrLast, boolean needFindNext)
Get the index that has the given column as the first element.Index
Table. getPrimaryKey()
Index
DualTable. getScanIndex(SessionLocal session)
Index
MetaTable. getScanIndex(SessionLocal session)
Index
RangeTable. getScanIndex(SessionLocal session)
abstract Index
Table. getScanIndex(SessionLocal session)
Get the scan index to iterate through all rows.Index
Table. getScanIndex(SessionLocal session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder, AllColumnsForPlan allColumnsSet)
Get the scan index for this table.Index
TableLink. getScanIndex(SessionLocal session)
Index
TableView. getScanIndex(SessionLocal session)
Index
TableView. getScanIndex(SessionLocal session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder, AllColumnsForPlan allColumnsSet)
Index
VirtualConstructedTable. getScanIndex(SessionLocal session)
Methods in org.h2.table that return types with arguments of type Index Modifier and Type Method Description java.util.ArrayList<Index>
MetaTable. getIndexes()
java.util.ArrayList<Index>
RangeTable. getIndexes()
abstract java.util.ArrayList<Index>
Table. getIndexes()
Get all indexes for this table.java.util.ArrayList<Index>
TableLink. getIndexes()
java.util.ArrayList<Index>
TableView. getIndexes()
java.util.ArrayList<Index>
VirtualTable. getIndexes()
Methods in org.h2.table with parameters of type Index Modifier and Type Method Description boolean
IndexHints. allowIndex(Index index)
Allow an index to be used.private void
InformationSchemaTable. indexColumns(SessionLocal session, java.util.ArrayList<Row> rows, java.lang.String catalog, Table table, java.lang.String tableName, Index index)
private void
InformationSchemaTable. indexes(SessionLocal session, java.util.ArrayList<Row> rows, java.lang.String catalog, Table table, java.lang.String tableName, Index index)
private static boolean
Table. isIndexExcludedByHints(IndexHints indexHints, Index index)
void
Table. removeIndex(Index index)
Remove the given index from the list.void
Table. removeIndexOrTransferOwnership(SessionLocal session, Index index)
If the index is still required by a constraint, transfer the ownership to it.(package private) void
PlanItem. setIndex(Index index)
void
TableFilter. setIndex(Index index)
-