public class RowStore extends Object
| Modifier and Type | Field and Description |
|---|---|
protected CacheObjectContext |
coctx |
protected CacheGroupContext |
grp |
protected PageMemory |
pageMem |
| Constructor and Description |
|---|
RowStore(CacheGroupContext grp,
FreeList freeList) |
| Modifier and Type | Method and Description |
|---|---|
void |
addRow(CacheDataRow row,
IoStatisticsHolder statHolder) |
void |
addRows(Collection<? extends CacheDataRow> rows,
IoStatisticsHolder statHolder) |
FreeList |
freeList() |
void |
removeRow(long link,
IoStatisticsHolder statHolder) |
void |
setRowCacheCleaner(GridQueryRowCacheCleaner rowCacheCleaner)
Inject rows cache cleaner.
|
<S,R> void |
updateDataRow(long link,
PageHandler<S,R> pageHnd,
S arg,
IoStatisticsHolder statHolder)
Run page handler operation over the row.
|
boolean |
updateRow(long link,
CacheDataRow row,
IoStatisticsHolder statHolder) |
protected final PageMemory pageMem
protected final CacheObjectContext coctx
protected final CacheGroupContext grp
public RowStore(CacheGroupContext grp, FreeList freeList)
grp - Cache group.freeList - Free list.public void removeRow(long link,
IoStatisticsHolder statHolder)
throws IgniteCheckedException
link - Row link.IgniteCheckedException - If failed.public void addRow(CacheDataRow row, IoStatisticsHolder statHolder) throws IgniteCheckedException
row - Row.IgniteCheckedException - If failed.public void addRows(Collection<? extends CacheDataRow> rows, IoStatisticsHolder statHolder) throws IgniteCheckedException
rows - Rows.statHolder - Statistics holder to track IO operations.IgniteCheckedException - If failed.public boolean updateRow(long link,
CacheDataRow row,
IoStatisticsHolder statHolder)
throws IgniteCheckedException
link - Row link.row - New row data.True if was able to update row.IgniteCheckedException - If failed.public <S,R> void updateDataRow(long link,
PageHandler<S,R> pageHnd,
S arg,
IoStatisticsHolder statHolder)
throws IgniteCheckedException
link - Row link.pageHnd - Page handler.arg - Page handler argument.IgniteCheckedException - If failed.public FreeList freeList()
public void setRowCacheCleaner(GridQueryRowCacheCleaner rowCacheCleaner)
rowCacheCleaner - Rows cache cleaner.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.11.0 Release Date : September 11 2021