Uses of Class
org.h2.index.IndexType
-
Packages that use IndexType Package Description 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.table Classes related to a table and table meta data. -
-
Uses of IndexType in org.h2.index
Fields in org.h2.index declared as IndexType Modifier and Type Field Description protected IndexTypeIndex. indexTypeThe index type.Methods in org.h2.index that return IndexType Modifier and Type Method Description static 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.IndexTypeIndex. getIndexType()Get the index type.Constructors in org.h2.index with parameters of type IndexType Constructor Description Index(Table newTable, int id, java.lang.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 IndexType 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)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 IndexType Constructor Description MVDelegateIndex(MVTable table, int id, java.lang.String name, MVPrimaryIndex mainIndex, IndexType indexType)MVIndex(Table newTable, int id, java.lang.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, java.lang.String indexName, IndexColumn[] columns, int uniqueColumnCount, IndexType indexType)MVSpatialIndex(Database db, MVTable table, int id, java.lang.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 IndexType 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 tableprivate voidTableLink. addIndex(java.util.List<Column> list, int uniqueColumnCount, IndexType indexType)IndexTableLink. 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)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.
-