use of org.apache.ignite.internal.processors.cache.persistence.tree.io.AbstractDataPageIO in project ignite by apache.
the class DataPageUpdateRecord method applyDelta.
/**
* {@inheritDoc}
*/
@Override
public void applyDelta(PageMemory pageMem, long pageAddr) throws IgniteCheckedException {
assert payload != null;
AbstractDataPageIO io = PageIO.getPageIO(pageAddr);
io.updateRow(pageAddr, itemId, pageMem.pageSize(), payload, null, 0);
}
use of org.apache.ignite.internal.processors.cache.persistence.tree.io.AbstractDataPageIO in project ignite by apache.
the class DataPageInsertFragmentRecord method applyDelta.
/**
* {@inheritDoc}
*/
@Override
public void applyDelta(PageMemory pageMem, long pageAddr) throws IgniteCheckedException {
AbstractDataPageIO io = PageIO.getPageIO(pageAddr);
io.addRowFragment(pageAddr, payload, lastLink, pageMem.pageSize());
}
use of org.apache.ignite.internal.processors.cache.persistence.tree.io.AbstractDataPageIO in project ignite by apache.
the class DataPageRemoveRecord method applyDelta.
/**
* {@inheritDoc}
*/
@Override
public void applyDelta(PageMemory pageMem, long pageAddr) throws IgniteCheckedException {
AbstractDataPageIO io = PageIO.getPageIO(pageAddr);
io.removeRow(pageAddr, itemId, pageMem.pageSize());
}
use of org.apache.ignite.internal.processors.cache.persistence.tree.io.AbstractDataPageIO in project ignite by apache.
the class DataPageSetFreeListPageRecord method applyDelta.
/**
* {@inheritDoc}
*/
@Override
public void applyDelta(PageMemory pageMem, long pageAddr) throws IgniteCheckedException {
AbstractDataPageIO io = PageIO.getPageIO(pageAddr);
io.setFreeListPageId(pageAddr, freeListPage);
}
use of org.apache.ignite.internal.processors.cache.persistence.tree.io.AbstractDataPageIO in project ignite by apache.
the class DataPageInsertRecord method applyDelta.
/**
* {@inheritDoc}
*/
@Override
public void applyDelta(PageMemory pageMem, long pageAddr) throws IgniteCheckedException {
assert payload != null;
AbstractDataPageIO io = PageIO.getPageIO(pageAddr);
io.addRow(pageAddr, payload, pageMem.pageSize());
}
Aggregations