public class GridH2ProxyIndex
extends BaseIndex
| Modifier and Type | Field and Description |
|---|---|
protected Index |
idx
Underlying normal index
|
| Constructor and Description |
|---|
GridH2ProxyIndex(GridH2Table tbl,
String name,
List<IndexColumn> colsList,
Index idx) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Session session,
Row row) |
boolean |
canGetFirstOrLast() |
void |
checkRename() |
void |
close(Session session) |
IndexLookupBatch |
createLookupBatch(TableFilter[] filters,
int filter) |
Cursor |
find(Session session,
SearchRow first,
SearchRow last) |
Cursor |
findFirstOrLast(Session session,
boolean first) |
double |
getCost(Session session,
int[] masks,
TableFilter[] filters,
int filter,
SortOrder sortOrder,
HashSet<Column> allColumnsSet) |
long |
getDiskSpaceUsed() |
long |
getRowCount(Session session) |
long |
getRowCountApproximation() |
boolean |
needRebuild() |
void |
remove(Session session) |
void |
remove(Session session,
Row row) |
void |
removeChildrenAndResources(Session session) |
void |
truncate(Session session) |
Index |
underlyingIndex() |
public GridH2ProxyIndex(GridH2Table tbl, String name, List<IndexColumn> colsList, Index idx)
tbl - Table.name - Name of the proxy index.colsList - Column list for the proxy index.idx - Target index.public Index underlyingIndex()
public void checkRename()
public void close(Session session)
public void add(Session session,
Row row)
public void remove(Session session,
Row row)
public Cursor find(Session session,
SearchRow first,
SearchRow last)
public double getCost(Session session,
int[] masks,
TableFilter[] filters,
int filter,
SortOrder sortOrder,
HashSet<Column> allColumnsSet)
public void remove(Session session)
public void truncate(Session session)
public boolean canGetFirstOrLast()
public Cursor findFirstOrLast(Session session,
boolean first)
public boolean needRebuild()
public long getRowCount(Session session)
public long getRowCountApproximation()
public long getDiskSpaceUsed()
public IndexLookupBatch createLookupBatch(TableFilter[] filters,
int filter)
public void removeChildrenAndResources(Session session)
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.2-p3 Release Date : April 25 2019