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 IndexTypeIndexType.createNonUnique(boolean persistent) Create a non-unique index.static IndexTypeIndexType.createNonUnique(boolean persistent, boolean hash, boolean spatial) Create a non-unique index.static IndexTypeIndexType.createPrimaryKey(boolean persistent, boolean hash) Create a primary key index.static IndexTypeIndexType.createScan(boolean persistent) Create a scan pseudo-index.static IndexTypeIndexType.createUnique(boolean persistent, boolean hash) Create a unique index.final IndexTypeIndex.getIndexType()Get the index type.Constructors in org.h2.index with parameters of type IndexTypeModifierConstructorDescriptionprotectedIndex(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) protectedMVIndex(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 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 tableprivate voidTableLink.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 intTableBase.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.