public class H2PkHashIndex extends GridH2IndexBase
GridH2IndexBase.FilteringCursor, GridH2IndexBase.SegmentKeyctx, EMPTY_CURSOR| Constructor and Description |
|---|
H2PkHashIndex(GridCacheContext<?,?> cctx,
GridH2Table tbl,
String name,
List<org.h2.table.IndexColumn> colsList) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canGetFirstOrLast() |
boolean |
canScan() |
org.h2.index.Cursor |
find(org.h2.engine.Session ses,
org.h2.result.SearchRow lower,
org.h2.result.SearchRow upper) |
org.h2.index.Cursor |
findFirstOrLast(org.h2.engine.Session ses,
boolean b) |
double |
getCost(org.h2.engine.Session ses,
int[] masks,
org.h2.table.TableFilter[] filters,
int filter,
org.h2.result.SortOrder sortOrder,
HashSet<org.h2.table.Column> allColumnsSet) |
long |
getRowCount(org.h2.engine.Session ses) |
long |
getRowCountApproximation() |
GridH2Row |
put(GridH2Row row)
Puts row.
|
GridH2Row |
remove(org.h2.result.SearchRow row)
Remove row from index.
|
protected int |
segmentsCount() |
add, bubbleUp, checkRename, close, createLookupBatch, destroy, doFind0, filter, getDiskSpaceUsed, getDistributedMultiplier, getTable, initDistributedJoinMessaging, needRebuild, remove, remove, removeChildrenAndResources, removex, segmentForPartition, segmentForRow, threadLocalFilter, threadLocalSegment, treeForRead, truncatecanFindNext, checkIndexColumnTypes, commit, compareRows, containsNullAndAllowMultipleNull, find, findNext, getColumnIndex, getColumns, getCostRangeIndex, getCreateSQL, getCreateSQLForCopy, getDropSQL, getDuplicateKeyException, getIndexColumns, getIndexType, getPlanSQL, getRow, getType, initBaseIndex, isFirstColumn, isHidden, isRowIdIndex, setSortedInsertModegetChildren, getComment, getDatabase, getId, getModificationId, getName, initDbObjectBase, invalidate, isTemporary, isValid, rename, setComment, setModified, setObjectName, setTemporary, toStringpublic H2PkHashIndex(GridCacheContext<?,?> cctx, GridH2Table tbl, String name, List<org.h2.table.IndexColumn> colsList)
cctx - Cache context.tbl - Table.name - Index name.colsList - Index columns.protected int segmentsCount()
segmentsCount in class GridH2IndexBasepublic org.h2.index.Cursor find(org.h2.engine.Session ses,
org.h2.result.SearchRow lower,
org.h2.result.SearchRow upper)
public boolean canScan()
canScan in interface org.h2.index.IndexcanScan in class org.h2.index.BaseIndexpublic GridH2Row put(GridH2Row row)
put in class GridH2IndexBaserow - Row.null.public GridH2Row remove(org.h2.result.SearchRow row)
remove in class GridH2IndexBaserow - Row.public double getCost(org.h2.engine.Session ses,
int[] masks,
org.h2.table.TableFilter[] filters,
int filter,
org.h2.result.SortOrder sortOrder,
HashSet<org.h2.table.Column> allColumnsSet)
public long getRowCount(org.h2.engine.Session ses)
public long getRowCountApproximation()
public boolean canGetFirstOrLast()
public org.h2.index.Cursor findFirstOrLast(org.h2.engine.Session ses,
boolean b)
Follow @ApacheIgnite
Ignite Fabric : ver. 2.3.0 Release Date : October 28 2017