public class GridH2ProxyIndex
extends org.h2.index.BaseIndex
| Modifier and Type | Field and Description |
|---|---|
protected org.h2.index.Index |
idx
Underlying normal index
|
| Constructor and Description |
|---|
GridH2ProxyIndex(GridH2Table tbl,
String name,
List<org.h2.table.IndexColumn> colsList,
org.h2.index.Index idx) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(org.h2.engine.Session session,
org.h2.result.Row row) |
boolean |
canGetFirstOrLast() |
void |
checkRename() |
void |
close(org.h2.engine.Session session) |
org.h2.index.IndexLookupBatch |
createLookupBatch(org.h2.table.TableFilter[] filters,
int filter) |
org.h2.index.Cursor |
find(org.h2.engine.Session session,
org.h2.result.SearchRow first,
org.h2.result.SearchRow last) |
org.h2.index.Cursor |
findFirstOrLast(org.h2.engine.Session session,
boolean first) |
double |
getCost(org.h2.engine.Session session,
int[] masks,
org.h2.table.TableFilter[] filters,
int filter,
org.h2.result.SortOrder sortOrder,
HashSet<org.h2.table.Column> allColumnsSet) |
long |
getDiskSpaceUsed() |
long |
getRowCount(org.h2.engine.Session session) |
long |
getRowCountApproximation() |
boolean |
needRebuild() |
void |
remove(org.h2.engine.Session session) |
void |
remove(org.h2.engine.Session session,
org.h2.result.Row row) |
void |
removeChildrenAndResources(org.h2.engine.Session session) |
void |
truncate(org.h2.engine.Session session) |
org.h2.index.Index |
underlyingIndex() |
canFindNext, canScan, checkIndexColumnTypes, commit, compareRows, containsNullAndAllowMultipleNull, find, findNext, getColumnIndex, getColumns, getCostRangeIndex, getCreateSQL, getCreateSQLForCopy, getDropSQL, getDuplicateKeyException, getIndexColumns, getIndexType, getPlanSQL, getRow, getTable, getType, initBaseIndex, isFirstColumn, isHidden, isRowIdIndex, setSortedInsertModegetChildren, getComment, getDatabase, getId, getModificationId, getName, initDbObjectBase, invalidate, isTemporary, isValid, rename, setComment, setModified, setObjectName, setTemporary, toStringpublic GridH2ProxyIndex(GridH2Table tbl, String name, List<org.h2.table.IndexColumn> colsList, org.h2.index.Index idx)
tbl - Table.name - Name of the proxy index.colsList - Column list for the proxy index.idx - Target index.public org.h2.index.Index underlyingIndex()
public void checkRename()
checkRename in interface org.h2.engine.DbObjectcheckRename in class org.h2.engine.DbObjectBasepublic void close(org.h2.engine.Session session)
public void add(org.h2.engine.Session session,
org.h2.result.Row row)
public void remove(org.h2.engine.Session session,
org.h2.result.Row row)
public org.h2.index.Cursor find(org.h2.engine.Session session,
org.h2.result.SearchRow first,
org.h2.result.SearchRow last)
public double getCost(org.h2.engine.Session session,
int[] masks,
org.h2.table.TableFilter[] filters,
int filter,
org.h2.result.SortOrder sortOrder,
HashSet<org.h2.table.Column> allColumnsSet)
public void remove(org.h2.engine.Session session)
public void truncate(org.h2.engine.Session session)
public boolean canGetFirstOrLast()
public org.h2.index.Cursor findFirstOrLast(org.h2.engine.Session session,
boolean first)
public boolean needRebuild()
public long getRowCount(org.h2.engine.Session session)
public long getRowCountApproximation()
public long getDiskSpaceUsed()
public org.h2.index.IndexLookupBatch createLookupBatch(org.h2.table.TableFilter[] filters,
int filter)
createLookupBatch in interface org.h2.index.IndexcreateLookupBatch in class org.h2.index.BaseIndexpublic void removeChildrenAndResources(org.h2.engine.Session session)
removeChildrenAndResources in interface org.h2.engine.DbObjectremoveChildrenAndResources in class org.h2.index.BaseIndex
Follow @ApacheIgnite
Ignite Fabric : ver. 2.6.0 Release Date : July 10 2018