Uses of Class
org.h2.index.Index
Packages that use Index
Package
Description
Contains DDL (data definition language) and related SQL statements.
Contains DML (data manipulation language) and related SQL statements.
Contains queries.
Database constraints such as check constraints, unique constraints, and referential constraints.
Contains high level classes of the database and classes that don't fit in another sub-package.
Aggregate functions.
Various table index implementations, as well as cursors to navigate in an index.
Helper classes to use the MVStore in the H2 database.
Schema implementation and objects that are stored in a schema (for example, sequences and constants).
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 IndexModifier and TypeFieldDescriptionprivate Index
AlterTableAddConstraint.index
private Index
AlterTableAddConstraint.refIndex
Fields in org.h2.command.ddl with type parameters of type IndexMethods in org.h2.command.ddl that return IndexModifier and TypeMethodDescriptionprivate 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 IndexModifier and TypeMethodDescriptionprivate 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
void
AlterTableAddConstraint.setRefIndex
(Index refIndex) -
Uses of Index in org.h2.command.dml
Methods in org.h2.command.dml with parameters of type IndexModifier and TypeMethodDescriptionprivate Expression
Insert.prepareUpdateCondition
(Index foundIndex, Expression[] row) -
Uses of Index in org.h2.command.query
Methods in org.h2.command.query that return IndexModifier and TypeMethodDescriptionprivate 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 IndexModifier and TypeMethodDescriptionprivate boolean
Select.isGroupSortedIndex
(TableFilter tableFilter, Index index) -
Uses of Index in org.h2.constraint
Fields in org.h2.constraint declared as IndexModifier and TypeFieldDescriptionprivate Index
ConstraintReferential.index
private Index
ConstraintUnique.index
Methods in org.h2.constraint that return IndexModifier and TypeMethodDescriptionConstraint.getIndex()
Get the index of this constraint in the source table, or null if no index is used.ConstraintReferential.getIndex()
ConstraintUnique.getIndex()
Methods in org.h2.constraint with parameters of type IndexModifier and TypeMethodDescriptionprivate boolean
ConstraintReferential.existsRow
(SessionLocal session, Index searchIndex, SearchRow check, Row excluding) private String
ConstraintReferential.getShortDescription
(Index searchIndex, SearchRow check) Get a short description of the constraint.void
Set the index to use for this constraint.void
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
Check if this constraint needs the specified index.boolean
boolean
boolean
boolean
-
Uses of Index in org.h2.engine
Fields in org.h2.engine declared as IndexFields in org.h2.engine with type parameters of type IndexMethods in org.h2.engine that return IndexModifier and TypeMethodDescriptionSessionLocal.findLocalTempTableIndex
(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 IndexMethods in org.h2.engine with parameters of type IndexModifier and TypeMethodDescriptionvoid
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 IndexModifier and TypeMethodDescription(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 IndexModifier and TypeMethodDescriptionprivate static boolean
Percentile.isNullsLast
(DefaultNullOrdering defaultNullOrdering, Index index) -
Uses of Index in org.h2.index
Subclasses of Index in org.h2.indexModifier and TypeClassDescriptionclass
An index for the DUAL table.class
A linked index is a index for a linked (remote) table.class
The index implementation for meta data tables.class
An index for the SYSTEM_RANGE table.class
This object represents a virtual index for a query.class
An index for a virtual table that returns a result set.class
An base class for indexes of virtual tables.Fields in org.h2.index declared as IndexMethods in org.h2.index with parameters of type Index -
Uses of Index in org.h2.mvstore.db
Subclasses of Index in org.h2.mvstore.dbModifier and TypeClassDescriptionclass
An index that delegates indexing to another index.class
MVIndex<K,
V> An index that stores the data in an MVStore.class
A table stored in a MVStore.final class
An index stored in a MVStore.class
This is an index based on a MVRTreeMap.Fields in org.h2.mvstore.db with type parameters of type IndexMethods in org.h2.mvstore.db that return IndexModifier and TypeMethodDescriptionMVTable.addIndex
(SessionLocal session, String indexName, int indexId, IndexColumn[] cols, int uniqueColumnCount, IndexType indexType, boolean create, String indexComment) MVTable.getScanIndex
(SessionLocal session) Methods in org.h2.mvstore.db that return types with arguments of type IndexMethods in org.h2.mvstore.db with parameters of type IndexModifier and TypeMethodDescriptionprivate static void
MVTable.addRowsToIndex
(SessionLocal session, ArrayList<Row> list, Index index) Appends the specified rows to the specified index.private void
MVTable.rebuildIndexBuffered
(SessionLocal session, Index index) private static void
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 IndexMethods in org.h2.schema that return IndexModifier and TypeMethodDescriptionSchema.findIndex
(SessionLocal session, String name) Try to find an index with this name.Get the index with the given name.Methods in org.h2.schema that return types with arguments of type Index -
Uses of Index in org.h2.table
Fields in org.h2.table declared as IndexFields in org.h2.table with type parameters of type IndexMethods in org.h2.table that return IndexModifier and TypeMethodDescriptionfinal Index
MetaTable.addIndex
(SessionLocal session, String indexName, int indexId, IndexColumn[] cols, int uniqueColumnCount, IndexType indexType, boolean create, String indexComment) abstract Index
Table.addIndex
(SessionLocal session, String indexName, int indexId, IndexColumn[] cols, int uniqueColumnCount, IndexType indexType, boolean create, String indexComment) Create an index for this tableTableLink.addIndex
(SessionLocal session, String indexName, int indexId, IndexColumn[] cols, int uniqueColumnCount, IndexType indexType, boolean create, String indexComment) TableView.addIndex
(SessionLocal session, String indexName, int indexId, IndexColumn[] cols, int uniqueColumnCount, IndexType indexType, boolean create, String indexComment) VirtualTable.addIndex
(SessionLocal session, String indexName, int indexId, IndexColumn[] cols, int uniqueColumnCount, IndexType indexType, boolean create, String indexComment) Table.findPrimaryKey()
Get the primary key index if there is one, or null if there is none.PlanItem.getIndex()
Get an index by name.TableFilter.getIndex()
Table.getIndexForColumn
(Column column, boolean needGetFirstOrLast, boolean needFindNext) Get the index that has the given column as the first element.Table.getPrimaryKey()
DualTable.getScanIndex
(SessionLocal session) final Index
MetaTable.getScanIndex
(SessionLocal session) RangeTable.getScanIndex
(SessionLocal session) abstract Index
Table.getScanIndex
(SessionLocal session) Get the scan index to iterate through all rows.Table.getScanIndex
(SessionLocal session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder, AllColumnsForPlan allColumnsSet) Get the scan index for this table.TableLink.getScanIndex
(SessionLocal session) TableView.getScanIndex
(SessionLocal session) TableView.getScanIndex
(SessionLocal session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder, AllColumnsForPlan allColumnsSet) VirtualConstructedTable.getScanIndex
(SessionLocal session) Methods in org.h2.table that return types with arguments of type IndexModifier and TypeMethodDescriptionMetaTable.getIndexes()
RangeTable.getIndexes()
Table.getIndexes()
Get all indexes for this table.TableLink.getIndexes()
TableView.getIndexes()
VirtualTable.getIndexes()
Methods in org.h2.table with parameters of type IndexModifier and TypeMethodDescriptionboolean
IndexHints.allowIndex
(Index index) Allow an index to be used.private void
InformationSchemaTable.indexColumns
(SessionLocal session, ArrayList<Row> rows, String catalog, Table table, String tableName, Index index) private void
InformationSchemaTable.indexes
(SessionLocal session, ArrayList<Row> rows, String catalog, Table table, 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
void