Uses of Class
org.h2.index.IndexType
Packages that use IndexType
Package
Description
Various table index implementations, as well as cursors to navigate in an index.
Helper classes to use the MVStore in the H2 database.
Classes related to a table and table meta data.
-
Uses of IndexType in org.h2.index
Fields in org.h2.index declared as IndexTypeMethods in org.h2.index that return IndexTypeModifier and TypeMethodDescriptionstatic IndexType
IndexType.createNonUnique
(boolean persistent) Create a non-unique index.static IndexType
IndexType.createNonUnique
(boolean persistent, boolean hash, boolean spatial) Create a non-unique index.static IndexType
IndexType.createPrimaryKey
(boolean persistent, boolean hash) Create a primary key index.static IndexType
IndexType.createScan
(boolean persistent) Create a scan pseudo-index.static IndexType
IndexType.createUnique
(boolean persistent, boolean hash) Create a unique index.final IndexType
Index.getIndexType()
Get the index type.Constructors in org.h2.index with parameters of type IndexTypeModifierConstructorDescriptionprotected
Index
(Table newTable, int id, String name, IndexColumn[] newIndexColumns, int uniqueColumnCount, IndexType newIndexType) Initialize the index.LinkedIndex
(TableLink table, int id, IndexColumn[] columns, int uniqueColumnCount, IndexType indexType) -
Uses of IndexType in org.h2.mvstore.db
Methods in org.h2.mvstore.db with parameters of type IndexTypeModifier and TypeMethodDescriptionMVTable.addIndex
(SessionLocal session, String indexName, int indexId, IndexColumn[] cols, int uniqueColumnCount, IndexType indexType, boolean create, String indexComment) private static IndexColumn[]
MVTable.prepareColumns
(Database database, IndexColumn[] cols, IndexType indexType) Prepares columns of an index.Constructors in org.h2.mvstore.db with parameters of type IndexTypeModifierConstructorDescriptionMVDelegateIndex
(MVTable table, int id, String name, MVPrimaryIndex mainIndex, IndexType indexType) protected
MVIndex
(Table newTable, int id, String name, IndexColumn[] newIndexColumns, int uniqueColumnCount, IndexType newIndexType) MVPrimaryIndex
(Database db, MVTable table, int id, IndexColumn[] columns, IndexType indexType) MVSecondaryIndex
(Database db, MVTable table, int id, String indexName, IndexColumn[] columns, int uniqueColumnCount, IndexType indexType) MVSpatialIndex
(Database db, MVTable table, int id, String indexName, IndexColumn[] columns, int uniqueColumnCount, IndexType indexType) Constructor. -
Uses of IndexType in org.h2.table
Methods in org.h2.table with parameters of type IndexTypeModifier 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 tableprivate void
TableLink.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) static int
TableBase.getMainIndexColumn
(IndexType indexType, IndexColumn[] cols) Returns main index column if index is an primary key index and has only one column with _ROWID_ compatible data type.