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 IndexAlterTableAddConstraint.indexprivate IndexAlterTableAddConstraint.refIndexFields in org.h2.command.ddl with type parameters of type IndexMethods in org.h2.command.ddl that return IndexModifier and TypeMethodDescriptionprivate IndexAlterTableAddConstraint.createIndex(Table t, IndexColumn[] cols, boolean unique) private static IndexAlterTableAddConstraint.getIndex(Table t, IndexColumn[] cols, boolean unique) Methods in org.h2.command.ddl with parameters of type IndexModifier and TypeMethodDescriptionprivate static booleanAlterTableAddConstraint.canUseIndex(Index index, Table table, IndexColumn[] cols, boolean unique) private ConstraintUniqueAlterTableAddConstraint.createUniqueConstraint(Table table, Index index, IndexColumn[] indexColumns, boolean forForeignKey) voidvoidAlterTableAddConstraint.setRefIndex(Index refIndex) -
Uses of Index in org.h2.command.dml
Methods in org.h2.command.dml with parameters of type IndexModifier and TypeMethodDescriptionprivate ExpressionInsert.prepareUpdateCondition(Index foundIndex, Expression[] row) -
Uses of Index in org.h2.command.query
Methods in org.h2.command.query that return IndexModifier and TypeMethodDescriptionprivate IndexSelect.getGroupSortedIndex()private IndexSelect.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 booleanSelect.isGroupSortedIndex(TableFilter tableFilter, Index index) -
Uses of Index in org.h2.constraint
Fields in org.h2.constraint declared as IndexModifier and TypeFieldDescriptionprivate IndexConstraintReferential.indexprivate IndexConstraintUnique.indexMethods 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 booleanConstraintReferential.existsRow(SessionLocal session, Index searchIndex, SearchRow check, Row excluding) private StringConstraintReferential.getShortDescription(Index searchIndex, SearchRow check) Get a short description of the constraint.voidSet 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
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 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.expression.aggregate
Methods in org.h2.expression.aggregate that return IndexModifier and TypeMethodDescription(package private) static IndexPercentile.getColumnIndex(Database database, Expression on) Get the index (if any) for the column specified in the inverse distribution function.(package private) static IndexAggregateDataEnvelope.getGeometryColumnIndex(Expression on) Get the index (if any) for the column specified in the geometry aggregate.private IndexAggregate.getMinMaxColumnIndex()Methods in org.h2.expression.aggregate with parameters of type IndexModifier and TypeMethodDescriptionprivate static booleanPercentile.isNullsLast(DefaultNullOrdering defaultNullOrdering, Index index) -
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.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 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.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 voidMVTable.addRowsToIndex(SessionLocal session, ArrayList<Row> list, Index index) Appends the specified rows to the specified index.private voidMVTable.rebuildIndexBuffered(SessionLocal session, Index index) private static voidSorts 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 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.private voidInformationSchemaTable.indexColumns(SessionLocal session, ArrayList<Row> rows, String catalog, Table table, String tableName, Index index) private voidInformationSchemaTable.indexes(SessionLocal session, ArrayList<Row> rows, String catalog, Table table, String tableName, Index index) private static booleanTable.isIndexExcludedByHints(IndexHints indexHints, Index index) 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.(package private) voidvoid