public class GridH2ProxyIndex extends H2IndexCostedBase
| Modifier and Type | Field and Description |
|---|---|
protected org.gridgain.internal.h2.index.Index |
idx
Underlying normal index
|
| Constructor and Description |
|---|
GridH2ProxyIndex(GridH2Table tbl,
String name,
List<org.gridgain.internal.h2.table.IndexColumn> colsList,
org.gridgain.internal.h2.index.Index idx) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(org.gridgain.internal.h2.engine.Session session,
org.gridgain.internal.h2.result.Row row) |
boolean |
canGetFirstOrLast() |
void |
checkRename() |
void |
close(org.gridgain.internal.h2.engine.Session session) |
org.gridgain.internal.h2.index.IndexLookupBatch |
createLookupBatch(org.gridgain.internal.h2.table.TableFilter[] filters,
int filter) |
org.gridgain.internal.h2.index.Cursor |
find(org.gridgain.internal.h2.engine.Session session,
org.gridgain.internal.h2.result.SearchRow first,
org.gridgain.internal.h2.result.SearchRow last) |
org.gridgain.internal.h2.index.Cursor |
findFirstOrLast(org.gridgain.internal.h2.engine.Session session,
boolean first) |
double |
getCost(org.gridgain.internal.h2.engine.Session ses,
int[] masks,
org.gridgain.internal.h2.table.TableFilter[] filters,
int filter,
org.gridgain.internal.h2.result.SortOrder sortOrder,
org.gridgain.internal.h2.command.dml.AllColumnsForPlan allColumnsSet) |
long |
getDiskSpaceUsed() |
long |
getRowCount(org.gridgain.internal.h2.engine.Session session) |
long |
getRowCountApproximation(org.gridgain.internal.h2.engine.Session ses) |
boolean |
needRebuild() |
void |
remove(org.gridgain.internal.h2.engine.Session session) |
void |
remove(org.gridgain.internal.h2.engine.Session session,
org.gridgain.internal.h2.result.Row row) |
void |
removeChildrenAndResources(org.gridgain.internal.h2.engine.Session session) |
void |
truncate(org.gridgain.internal.h2.engine.Session session) |
org.gridgain.internal.h2.index.Index |
underlyingIndex() |
costRangeIndex, getCostRangeIndex_8_7_12canFindNext, canScan, checkIndexColumnTypes, compareRows, find, findNext, getColumnIndex, getColumns, getCostRangeIndex, getCreateSQL, getCreateSQLForCopy, getDropSQL, getDuplicateKeyException, getIndexColumns, getIndexType, getPlanSQL, getRow, getTable, getType, isFindUsingFullTableScan, isFirstColumn, isHidden, isRowIdIndex, mayHaveNullDuplicates, setSortedInsertMode, updategetSchema, getSQL, getSQLgetChildren, getComment, getDatabase, getId, getModificationId, getName, invalidate, isTemporary, isValid, rename, setComment, setModified, setObjectName, setTemporary, toStringpublic GridH2ProxyIndex(GridH2Table tbl, String name, List<org.gridgain.internal.h2.table.IndexColumn> colsList, org.gridgain.internal.h2.index.Index idx)
tbl - Table.name - Name of the proxy index.colsList - Column list for the proxy index.idx - Target index.public org.gridgain.internal.h2.index.Index underlyingIndex()
public void checkRename()
checkRename in interface org.gridgain.internal.h2.engine.DbObjectcheckRename in class org.gridgain.internal.h2.engine.DbObjectBasepublic void close(org.gridgain.internal.h2.engine.Session session)
public void add(org.gridgain.internal.h2.engine.Session session,
org.gridgain.internal.h2.result.Row row)
public void remove(org.gridgain.internal.h2.engine.Session session,
org.gridgain.internal.h2.result.Row row)
public org.gridgain.internal.h2.index.Cursor find(org.gridgain.internal.h2.engine.Session session,
org.gridgain.internal.h2.result.SearchRow first,
org.gridgain.internal.h2.result.SearchRow last)
public double getCost(org.gridgain.internal.h2.engine.Session ses,
int[] masks,
org.gridgain.internal.h2.table.TableFilter[] filters,
int filter,
org.gridgain.internal.h2.result.SortOrder sortOrder,
org.gridgain.internal.h2.command.dml.AllColumnsForPlan allColumnsSet)
public void remove(org.gridgain.internal.h2.engine.Session session)
public void truncate(org.gridgain.internal.h2.engine.Session session)
public boolean canGetFirstOrLast()
public org.gridgain.internal.h2.index.Cursor findFirstOrLast(org.gridgain.internal.h2.engine.Session session,
boolean first)
public boolean needRebuild()
public long getRowCount(org.gridgain.internal.h2.engine.Session session)
public long getRowCountApproximation(org.gridgain.internal.h2.engine.Session ses)
public long getDiskSpaceUsed()
public org.gridgain.internal.h2.index.IndexLookupBatch createLookupBatch(org.gridgain.internal.h2.table.TableFilter[] filters,
int filter)
createLookupBatch in interface org.gridgain.internal.h2.index.IndexcreateLookupBatch in class org.gridgain.internal.h2.index.BaseIndexpublic void removeChildrenAndResources(org.gridgain.internal.h2.engine.Session session)
removeChildrenAndResources in interface org.gridgain.internal.h2.engine.DbObjectremoveChildrenAndResources in class org.gridgain.internal.h2.index.BaseIndex
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 8.9.17-p1 Release Date : November 27 2025