Class InsertRecord<L>

    • Constructor Detail

      • InsertRecord

        public InsertRecord​(int grpId,
                            long pageId,
                            BPlusIO<L> io,
                            int idx,
                            byte[] rowBytes,
                            long rightId)
        Parameters:
        grpId - Cache group ID.
        pageId - Page ID.
        io - IO.
        idx - Index.
        rowBytes - Row bytes.
        rightId - Right 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.
      • io

        public BPlusIO<L> io()
        Returns:
        IO.
      • index

        public int index()
        Returns:
        Index.
      • rightId

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

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