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 IndexAlterTableAddConstraint. indexprivate IndexAlterTableAddConstraint. refIndexFields in org.h2.command.ddl with type parameters of type Index Modifier and Type Field Description private java.util.ArrayList<Index>AlterTableAddConstraint. createdIndexesMethods in org.h2.command.ddl that return Index Modifier and Type Method Description private 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 Index Modifier and Type Method Description private static booleanAlterTableAddConstraint. canUseIndex(Index index, Table table, IndexColumn[] cols, boolean unique)private ConstraintUniqueAlterTableAddConstraint. createUniqueConstraint(Table table, Index index, IndexColumn[] indexColumns, boolean forForeignKey)voidAlterTableAddConstraint. setIndex(Index index)voidAlterTableAddConstraint. 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 ExpressionInsert. 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 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 Index Modifier and Type Method Description private booleanSelect. 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 IndexConstraintReferential. indexprivate IndexConstraintUnique. indexMethods in org.h2.constraint that return Index Modifier and Type Method Description IndexConstraint. getIndex()Get the index of this constraint in the source table, or null if no index is used.IndexConstraintReferential. getIndex()IndexConstraintUnique. getIndex()Methods in org.h2.constraint with parameters of type Index Modifier and Type Method Description private booleanConstraintReferential. existsRow(SessionLocal session, Index searchIndex, SearchRow check, Row excluding)private java.lang.StringConstraintReferential. getShortDescription(Index searchIndex, SearchRow check)Get a short description of the constraint.voidConstraintReferential. setIndex(Index index, boolean isOwner)Set the index to use for this constraint.voidConstraintUnique. setIndex(Index index, boolean isOwner)Set 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 booleanConstraint. usesIndex(Index index)Check if this constraint needs the specified index.booleanConstraintCheck. usesIndex(Index index)booleanConstraintDomain. usesIndex(Index index)booleanConstraintReferential. usesIndex(Index idx)booleanConstraintUnique. usesIndex(Index idx) -
Uses of Index in org.h2.engine
Fields in org.h2.engine declared as Index Modifier and Type Field Description private IndexDatabase. metaIdIndexFields in org.h2.engine with type parameters of type Index Modifier and Type Field Description private java.util.HashMap<java.lang.String,Index>SessionLocal. localTempTableIndexesMethods in org.h2.engine that return Index Modifier and Type Method Description IndexSessionLocal. 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 voidSessionLocal. 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 Index Modifier and Type Method Description (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 Index Modifier and Type Method Description private static booleanPercentile. isNullsLast(DefaultNullOrdering defaultNullOrdering, Index index) -
Uses of Index in org.h2.index
Subclasses of Index in org.h2.index Modifier and Type Class Description classDualIndexAn index for the DUAL table.classLinkedIndexA linked index is a index for a linked (remote) table.classMetaIndexThe index implementation for meta data tables.classRangeIndexAn index for the SYSTEM_RANGE table.classViewIndexThis object represents a virtual index for a query.classVirtualConstructedTableIndexAn index for a virtual table that returns a result set.classVirtualTableIndexAn base class for indexes of virtual tables.Fields in org.h2.index declared as Index Modifier and Type Field Description private IndexIndexCursor. indexMethods in org.h2.index with parameters of type Index Modifier and Type Method Description voidIndexCursor. setIndex(Index index) -
Uses of Index in org.h2.mvstore.db
Subclasses of Index in org.h2.mvstore.db Modifier and Type Class Description classMVDelegateIndexAn index that delegates indexing to another index.classMVIndex<K,V>An index that stores the data in an MVStore.classMVPrimaryIndexA table stored in a MVStore.classMVSecondaryIndexAn index stored in a MVStore.classMVSpatialIndexThis 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. indexesMethods in org.h2.mvstore.db that return Index Modifier and Type Method Description IndexMVTable. addIndex(SessionLocal session, java.lang.String indexName, int indexId, IndexColumn[] cols, int uniqueColumnCount, IndexType indexType, boolean create, java.lang.String indexComment)IndexMVTable. 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 voidMVTable. addRowsToIndex(SessionLocal session, java.util.ArrayList<Row> list, Index index)Appends the specified rows to the specified index.private voidMVTable. rebuildIndexBuffered(SessionLocal session, Index index)private static voidMVTable. 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. indexesMethods in org.h2.schema that return Index Modifier and Type Method Description IndexSchema. findIndex(SessionLocal session, java.lang.String name)Try to find an index with this name.IndexSchema. 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 IndexPlanItem. indexprivate IndexTableFilter. indexFields in org.h2.table with type parameters of type Index Modifier and Type Field Description private java.util.ArrayList<Index>TableLink. indexesMethods in org.h2.table that return Index Modifier and Type Method Description IndexMetaTable. addIndex(SessionLocal session, java.lang.String indexName, int indexId, IndexColumn[] cols, int uniqueColumnCount, IndexType indexType, boolean create, java.lang.String indexComment)abstract IndexTable. 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 tableIndexTableLink. addIndex(SessionLocal session, java.lang.String indexName, int indexId, IndexColumn[] cols, int uniqueColumnCount, IndexType indexType, boolean create, java.lang.String indexComment)IndexTableView. addIndex(SessionLocal session, java.lang.String indexName, int indexId, IndexColumn[] cols, int uniqueColumnCount, IndexType indexType, boolean create, java.lang.String indexComment)IndexVirtualTable. addIndex(SessionLocal session, java.lang.String indexName, int indexId, IndexColumn[] cols, int uniqueColumnCount, IndexType indexType, boolean create, java.lang.String indexComment)IndexTable. findPrimaryKey()Get the primary key index if there is one, or null if there is none.IndexPlanItem. getIndex()IndexTable. getIndex(java.lang.String indexName)Get an index by name.IndexTableFilter. getIndex()IndexTable. getIndexForColumn(Column column, boolean needGetFirstOrLast, boolean needFindNext)Get the index that has the given column as the first element.IndexTable. getPrimaryKey()IndexDualTable. getScanIndex(SessionLocal session)IndexMetaTable. getScanIndex(SessionLocal session)IndexRangeTable. getScanIndex(SessionLocal session)abstract IndexTable. getScanIndex(SessionLocal session)Get the scan index to iterate through all rows.IndexTable. getScanIndex(SessionLocal session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder, AllColumnsForPlan allColumnsSet)Get the scan index for this table.IndexTableLink. getScanIndex(SessionLocal session)IndexTableView. getScanIndex(SessionLocal session)IndexTableView. getScanIndex(SessionLocal session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder, AllColumnsForPlan allColumnsSet)IndexVirtualConstructedTable. 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 booleanIndexHints. allowIndex(Index index)Allow an index to be used.private voidInformationSchemaTable. indexColumns(SessionLocal session, java.util.ArrayList<Row> rows, java.lang.String catalog, Table table, java.lang.String tableName, Index index)private voidInformationSchemaTable. indexes(SessionLocal session, java.util.ArrayList<Row> rows, java.lang.String catalog, Table table, java.lang.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) voidPlanItem. setIndex(Index index)voidTableFilter. setIndex(Index index)
-