Class NewRootInitRecord<L>

    • Constructor Detail

      • NewRootInitRecord

        public NewRootInitRecord​(int grpId,
                                 long pageId,
                                 long newRootId,
                                 BPlusInnerIO<L> io,
                                 long leftChildId,
                                 byte[] rowBytes,
                                 long rightChildId)
        Parameters:
        grpId - Cache group ID.
        pageId - Page ID.
        io - IO.
        leftChildId - Left child ID.
        rowBytes - Row.
        rightChildId - Right child ID.
    • 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.
      • rootId

        public long rootId()
        Returns:
        Root page ID.
      • leftId

        public long leftId()
        Returns:
        Left child ID.
      • rightId

        public long rightId()
        Returns:
        Right child ID.
      • rowBytes

        public byte[] rowBytes()
        Returns:
        Row bytes.