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 IndexType
Index. indexType
The index type.Methods in org.h2.index that return IndexType Modifier and Type Method Description static 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.IndexType
Index. 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 Index
MVTable. 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 Index
MetaTable. addIndex(SessionLocal session, java.lang.String indexName, int indexId, IndexColumn[] cols, int uniqueColumnCount, IndexType indexType, boolean create, java.lang.String indexComment)
abstract Index
Table. 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 void
TableLink. addIndex(java.util.List<Column> list, int uniqueColumnCount, IndexType indexType)
Index
TableLink. addIndex(SessionLocal session, java.lang.String indexName, int indexId, IndexColumn[] cols, int uniqueColumnCount, IndexType indexType, boolean create, java.lang.String indexComment)
Index
TableView. addIndex(SessionLocal session, java.lang.String indexName, int indexId, IndexColumn[] cols, int uniqueColumnCount, IndexType indexType, boolean create, java.lang.String indexComment)
Index
VirtualTable. addIndex(SessionLocal session, java.lang.String indexName, int indexId, IndexColumn[] cols, int uniqueColumnCount, IndexType indexType, boolean create, java.lang.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.
-