Class MergeRecord<L>

    • Constructor Detail

      • MergeRecord

        public MergeRecord​(int grpId,
                           long pageId,
                           long prntId,
                           int prntIdx,
                           long rightId,
                           boolean emptyBranch)
        Parameters:
        grpId - Cache group ID.
        pageId - Page ID.
        prntId - Parent ID.
        prntIdx - Index in parent page.
        rightId - Right ID.
        emptyBranch - We are merging empty branch.
    • Method Detail

      • applyDelta

        public void applyDelta​(PageMemory pageMem,
                               long pageAddr)
                        throws IgniteCheckedException
        Apply changes from this delta to the given page. It is assumed that the given buffer represents page state right before this update.
        Specified by:
        applyDelta in class PageDeltaRecord
        Parameters:
        pageMem - Page memory.
        pageAddr - Page address.
        Throws:
        IgniteCheckedException - If failed.
      • parentId

        public long parentId()
      • parentIndex

        public int parentIndex()
      • rightId

        public long rightId()
      • isEmptyBranch

        public boolean isEmptyBranch()