| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| public static final double | |
| public static final Index[] | |
| public static final Index. | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final double | |
| public static final int |
| Modifier and Type | Method and Description |
|---|---|
| public Index. | |
| public int | |
| public int | Returns: comparison result, -1,0,+1Session session, Object[] row from another table a, Object[] a full row in this table b, int[] column indexes in the other table rowColMap)Compares two table rows based on the columns of this index. |
| public int | |
| public int | compareRowNonUnique(Session session, Object[] a, Object[] b, int fieldcount)
As above but use the index column data |
| public void | |
| public boolean | |
| public RowIterator | Returns: iteratorsession object session, PersistentStore store object store, Object[] Object[] rowdata, int count of columns to match matchCount, int int distinctCount, int int compareType, boolean boolean reversed, boolean[] boolean[] map)Return the first node equal to the indexdata object. |
| public RowIterator | Returns: iteratorsession object session, PersistentStore store object store, Object[] array containing table row data rowdata)Return the first node equal to the rowdata object. |
| public RowIterator | Returns: iteratorsession object session, PersistentStore store object store, Object[] array containing table row data rowdata, int[] int[] rowColMap)Return the first node equal to the rowdata object. |
| public RowIterator | Returns: iteratorSession session, PersistentStore PersistentStore store)Finds the first node where the data is not null. |
| public RowIterator | |
| public RowIterator | Returns: Iterator for first rowReturns the row for the first node of the index |
| public int | |
| public boolean[] | |
| public int[] | |
| public Type[] | |
| public int[] | |
| public int | Returns: ordinal valueReturns a value indicating the order of different types of index in the list of indexes for a table. |
| public long | |
| public int | |
| public TableBase | |
| public void | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public RowIterator | Returns: Iterator from last rowSession session, PersistentStore PersistentStore store, int int distinctCount, boolean[] boolean[] usedColumnCheck)Returns the row for the last node of the index |
| public double[] | |
| public void | |
| public void | |
| public void | |
| public long | |
| public long |
| cachedFactor | back to summary |
|---|---|
| public static final double cachedFactor | |
| emptyArray | back to summary |
|---|---|
| public static final Index[] emptyArray | |
| emptyUseArray | back to summary |
|---|---|
| public static final Index. | |
| INDEX_NON_UNIQUE | back to summary |
|---|---|
| public static final int INDEX_NON_UNIQUE | |
| INDEX_NONE | back to summary |
|---|---|
| public static final int INDEX_NONE | |
| INDEX_UNIQUE | back to summary |
|---|---|
| public static final int INDEX_UNIQUE | |
| minimumSelectivity | back to summary |
|---|---|
| public static final double minimumSelectivity | |
| probeDepth | back to summary |
|---|---|
| public static final int probeDepth | |
| asArray | back to summary |
|---|---|
| public Index. | |
| compareRow | back to summary |
|---|---|
| public int compareRow(Session session, Object[] a, Object[] b) | |
| compareRowNonUnique | back to summary |
|---|---|
| public int compareRowNonUnique(Session session, Object[] a, Object[] b, int[] rowColMap) Compares two table rows based on the columns of this index. The rowColMap parameter specifies which columns of the other table are to be compared with the colIndex columns of this index. The rowColMap can cover all or only some columns of this index. | |
| compareRowNonUnique | back to summary |
|---|---|
| public int compareRowNonUnique(Session session, Object[] a, Object[] b, int[] rowColMap, int fieldCount) | |
| compareRowNonUnique | back to summary |
|---|---|
| public int compareRowNonUnique(Session session, Object[] a, Object[] b, int fieldcount) As above but use the index column data | |
| delete | back to summary |
|---|---|
| public void delete(Session session, PersistentStore store, Row row) | |
| existsParent | back to summary |
|---|---|
| public boolean existsParent(Session session, PersistentStore store, Object[] rowdata, int[] rowColMap) | |
| findFirstRow | back to summary |
|---|---|
| public RowIterator findFirstRow(Session session, PersistentStore store, Object[] rowdata, int matchCount, int distinctCount, int compareType, boolean reversed, boolean[] map) Return the first node equal to the indexdata object. The rowdata has the same column mapping as this index.
| |
| findFirstRow | back to summary |
|---|---|
| public RowIterator findFirstRow(Session session, PersistentStore store, Object[] rowdata) Return the first node equal to the rowdata object. The rowdata has the same column mapping as this table.
| |
| findFirstRow | back to summary |
|---|---|
| public RowIterator findFirstRow(Session session, PersistentStore store, Object[] rowdata, int[] rowColMap) Return the first node equal to the rowdata object. The rowdata has the column mapping provided in rowColMap.
| |
| findFirstRowNotNull | back to summary |
|---|---|
| public RowIterator findFirstRowNotNull(Session session, PersistentStore store) Finds the first node where the data is not null.
| |
| firstRow | back to summary |
|---|---|
| public RowIterator firstRow(PersistentStore store) | |
| firstRow | back to summary |
|---|---|
| public RowIterator firstRow(Session session, PersistentStore store, RangeVariable. Returns the row for the first node of the index
| |
| getColumnCount | back to summary |
|---|---|
| public int getColumnCount() Returns the count of visible columns used | |
| getColumnDesc | back to summary |
|---|---|
| public boolean[] getColumnDesc() Returns the array containing desc column flags
| |
| getColumns | back to summary |
|---|---|
| public int[] getColumns() Returns the array containing column indexes for index
| |
| getColumnTypes | back to summary |
|---|---|
| public Type[] getColumnTypes() Returns the array containing column indexes for index
| |
| getDefaultColumnMap | back to summary |
|---|---|
| public int[] getDefaultColumnMap() Returns the array containing 0, 1, ... column indexes
| |
| getIndexOrderValue | back to summary |
|---|---|
| public int getIndexOrderValue() Returns a value indicating the order of different types of index in the list of indexes for a table. The position of the groups of Indexes in the list in ascending order is as follows: primary key index unique constraint indexes autogenerated foreign key indexes for FK's that reference this table or tables created before this table user created indexes (CREATE INDEX) autogenerated foreign key indexes for FK's that reference tables created after this table Among a group of indexes, the order is based on the order of creation of the index.
| |
| getPersistenceId | back to summary |
|---|---|
| public long getPersistenceId() | |
| getPosition | back to summary |
|---|---|
| public int getPosition() | |
| getTable | back to summary |
|---|---|
| public TableBase getTable() | |
| insert | back to summary |
|---|---|
| public void insert(Session session, PersistentStore store, Row row) Insert a node into the index | |
| isClustered | back to summary |
|---|---|
| public boolean isClustered() | |
| isConstraint | back to summary |
|---|---|
| public boolean isConstraint() Does this index belong to a constraint? | |
| isEmpty | back to summary |
|---|---|
| public boolean isEmpty(PersistentStore store) | |
| isForward | back to summary |
|---|---|
| public boolean isForward() | |
| isPrimaryKey | back to summary |
|---|---|
| public boolean isPrimaryKey() Is this a PRIMARY_KEY index? | |
| isUnique | back to summary |
|---|---|
| public boolean isUnique() Is this a UNIQUE index? | |
| lastRow | back to summary |
|---|---|
| public RowIterator lastRow(Session session, PersistentStore store, int distinctCount, boolean[] usedColumnCheck) Returns the row for the last node of the index
| |
| searchCost | back to summary |
|---|---|
| public double[] searchCost(Session session, PersistentStore store) | |
| setClustered | back to summary |
|---|---|
| public void setClustered(boolean clustered) | |
| setPosition | back to summary |
|---|---|
| public void setPosition(int position) | |
| setTable | back to summary |
|---|---|
| public void setTable(TableBase table) | |
| size | back to summary |
|---|---|
| public long size(Session session, PersistentStore store) Returns the node count. | |
| sizeUnique | back to summary |
|---|---|
| public long sizeUnique(PersistentStore store) | |
| Modifier and Type | Field and Description |
|---|---|
| public int | |
| public Index |
| columnCount | back to summary |
|---|---|
| public int columnCount | |
| index | back to summary |
|---|---|
| public Index index | |
| IndexUse | back to summary |
|---|---|
| public IndexUse(Index index, int columnCount) | |