public class H2PkHashIndex extends GridH2IndexBase
GridH2IndexBase.SegmentKeyctx, EMPTY_CURSOR| Constructor and Description |
|---|
H2PkHashIndex(<any> cctx,
GridH2Table tbl,
String name,
List<IndexColumn> colsList) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canGetFirstOrLast() |
boolean |
canScan() |
Cursor |
find(Session ses,
SearchRow lower,
SearchRow upper) |
Cursor |
findFirstOrLast(Session ses,
boolean b) |
double |
getCost(Session ses,
int[] masks,
TableFilter[] filters,
int filter,
SortOrder sortOrder,
HashSet<Column> allColumnsSet) |
long |
getRowCount(Session ses) |
long |
getRowCountApproximation() |
GridH2Row |
put(GridH2Row row)
Puts row.
|
boolean |
putx(GridH2Row row)
Puts row.
|
GridH2Row |
remove(SearchRow row)
Remove row from index.
|
boolean |
removex(SearchRow row)
Removes row from index.
|
protected int |
segmentsCount() |
add, bubbleUp, checkRename, close, createLookupBatch, destroy, doFind0, filter, getDiskSpaceUsed, getDistributedMultiplier, getTable, initDistributedJoinMessaging, needRebuild, refreshColumnIds, remove, removeChildrenAndResources, segmentForPartition, segmentForRow, threadLocalSegment, treeForRead, truncatepublic H2PkHashIndex(<any> cctx,
GridH2Table tbl,
String name,
List<IndexColumn> colsList)
cctx - Cache context.tbl - Table.name - Index name.colsList - Index columns.protected int segmentsCount()
segmentsCount in class GridH2IndexBasepublic Cursor find(Session ses,
SearchRow lower,
SearchRow upper)
public boolean canScan()
public GridH2Row put(GridH2Row row)
put in class GridH2IndexBaserow - Row.null.public boolean putx(GridH2Row row)
putx in class GridH2IndexBaserow - Row.True if existing row row has been replaced.public GridH2Row remove(SearchRow row)
remove in class GridH2IndexBaserow - Row.public boolean removex(SearchRow row)
removex in class GridH2IndexBaserow - Row.True if row has been removed.public double getCost(Session ses,
int[] masks,
TableFilter[] filters,
int filter,
SortOrder sortOrder,
HashSet<Column> allColumnsSet)
public long getRowCount(Session ses)
public long getRowCountApproximation()
public boolean canGetFirstOrLast()
public Cursor findFirstOrLast(Session ses,
boolean b)
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.2-p3 Release Date : April 25 2019