Search in sources :

Example 1 with AbstractDataPageIO

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);
}
Also used : AbstractDataPageIO(org.apache.ignite.internal.processors.cache.persistence.tree.io.AbstractDataPageIO)

Example 2 with AbstractDataPageIO

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());
}
Also used : AbstractDataPageIO(org.apache.ignite.internal.processors.cache.persistence.tree.io.AbstractDataPageIO)

Example 3 with AbstractDataPageIO

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());
}
Also used : AbstractDataPageIO(org.apache.ignite.internal.processors.cache.persistence.tree.io.AbstractDataPageIO)

Example 4 with AbstractDataPageIO

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);
}
Also used : AbstractDataPageIO(org.apache.ignite.internal.processors.cache.persistence.tree.io.AbstractDataPageIO)

Example 5 with AbstractDataPageIO

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());
}
Also used : AbstractDataPageIO(org.apache.ignite.internal.processors.cache.persistence.tree.io.AbstractDataPageIO)

Aggregations

AbstractDataPageIO (org.apache.ignite.internal.processors.cache.persistence.tree.io.AbstractDataPageIO)7 DataPageSetFreeListPageRecord (org.apache.ignite.internal.pagemem.wal.record.delta.DataPageSetFreeListPageRecord)2 PagesListAddPageRecord (org.apache.ignite.internal.pagemem.wal.record.delta.PagesListAddPageRecord)1 PagesListInitNewPageRecord (org.apache.ignite.internal.pagemem.wal.record.delta.PagesListInitNewPageRecord)1 PagesListSetNextRecord (org.apache.ignite.internal.pagemem.wal.record.delta.PagesListSetNextRecord)1