public abstract class H2IndexCostedBase
extends org.h2.index.BaseIndex
| Modifier and Type | Field and Description |
|---|---|
protected GridH2Table |
tbl
GridH2Table.
|
| Modifier | Constructor and Description |
|---|---|
protected |
H2IndexCostedBase(GridH2Table tbl,
String name,
org.h2.table.IndexColumn[] cols,
org.h2.index.IndexType type)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getCostRangeIndex(org.h2.engine.Session ses,
int[] masks,
long rowCount,
org.h2.table.TableFilter[] filters,
int filter,
org.h2.result.SortOrder sortOrder,
boolean isScanIndex,
HashSet<org.h2.table.Column> allColumnsSet)
Get cost range.
|
canFindNext, canScan, checkIndexColumnTypes, commit, compareRows, createLookupBatch, find, findNext, getColumnIndex, getColumns, getCostRangeIndex, getCreateSQL, getCreateSQLForCopy, getDropSQL, getDuplicateKeyException, getIndexColumns, getIndexType, getPlanSQL, getRow, getTable, getType, initBaseIndex, isFindUsingFullTableScan, isFirstColumn, isHidden, isRowIdIndex, mayHaveNullDuplicates, removeChildrenAndResources, setSortedInsertModecheckRename, getChildren, getComment, getDatabase, getId, getModificationId, getName, initDbObjectBase, invalidate, isTemporary, isValid, rename, setComment, setModified, setObjectName, setTemporary, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitprotected GridH2Table tbl
protected H2IndexCostedBase(GridH2Table tbl, String name, org.h2.table.IndexColumn[] cols, org.h2.index.IndexType type)
tbl - Table.name - Index name.cols - Indexed columns.type - Index type.public long getCostRangeIndex(org.h2.engine.Session ses,
int[] masks,
long rowCount,
org.h2.table.TableFilter[] filters,
int filter,
org.h2.result.SortOrder sortOrder,
boolean isScanIndex,
HashSet<org.h2.table.Column> allColumnsSet)
ses - Session.masks - Condition masks.rowCount - Total row count.filters - Filters array.filter - Filter array index.sortOrder - Sort order.isScanIndex - Flag if current index is a scan index.allColumnsSet - All columns to select.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.16.0 Release Date : December 15 2023