Uses of Class
org.h2.index.Index
Packages that use Index
Package
Description
Contains DDL (data definition language) and related SQL statements.
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.
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
Methods in org.h2.command.ddl with parameters of type Index -
Uses of Index in org.h2.constraint
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 TypeMethodDescriptionvoidSet the index to use for this constraint.voidSet the index to use for this unique constraint.abstract voidConstraint.setIndexOwner(Index index) This index is now the owner of the specified index.voidConstraintCheck.setIndexOwner(Index index) voidConstraintDomain.setIndexOwner(Index index) voidConstraintReferential.setIndexOwner(Index index) voidConstraintUnique.setIndexOwner(Index index) abstract booleanCheck if this constraint needs the specified index.booleanbooleanbooleanboolean -
Uses of Index in org.h2.engine
Methods 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 TypeMethodDescriptionvoidSessionLocal.addLocalTempTableIndex(Index index) Add a local temporary index to this session.voidSessionLocal.removeLocalTempTableIndex(Index index) Drop and remove the given local temporary index from this session. -
Uses of Index in org.h2.index
Subclasses of Index in org.h2.indexModifier and TypeClassDescriptionclassAn index for the DUAL table.classA linked index is a index for a linked (remote) table.classThe index implementation for meta data tables.classAn index for the SYSTEM_RANGE table.classThis object represents a virtual index for a query.classAn index for a virtual table that returns a result set.classAn base class for indexes of virtual tables.Methods 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 TypeClassDescriptionclassAn index that delegates indexing to another index.classMVIndex<K,V> An index that stores the data in an MVStore.classA table stored in a MVStore.final classAn index stored in a MVStore.classThis is an index based on a MVRTreeMap.Methods 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 Index -
Uses of Index in org.h2.schema
Methods 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
Methods in org.h2.table that return IndexModifier and TypeMethodDescriptionfinal IndexMetaTable.addIndex(SessionLocal session, String indexName, int indexId, IndexColumn[] cols, int uniqueColumnCount, IndexType indexType, boolean create, String indexComment) abstract IndexTable.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 IndexMetaTable.getScanIndex(SessionLocal session) RangeTable.getScanIndex(SessionLocal session) abstract IndexTable.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 TypeMethodDescriptionbooleanIndexHints.allowIndex(Index index) Allow an index to be used.voidTable.removeIndex(Index index) Remove the given index from the list.voidTable.removeIndexOrTransferOwnership(SessionLocal session, Index index) If the index is still required by a constraint, transfer the ownership to it.void