Class AbstractLeafIO

    • Method Detail

      • storeByOffset

        public void storeByOffset​(long pageAddr,
                                  int off,
                                  IndexRow row)
        Store the needed info about the row in the page. Leaf and inner pages can store different info.
        Specified by:
        storeByOffset in class BPlusIO<IndexRow>
        Parameters:
        pageAddr - Page address.
        off - Offset in bytes.
        row - Lookup or full row.
      • store

        public void store​(long dstPageAddr,
                          int dstIdx,
                          BPlusIO<IndexRow> srcIo,
                          long srcPageAddr,
                          int srcIdx)
        Store row info from the given source.
        Specified by:
        store in class BPlusIO<IndexRow>
        Parameters:
        dstPageAddr - Destination page address.
        dstIdx - Destination index.
        srcIo - Source IO.
        srcPageAddr - Source page address.
        srcIdx - Source index.
      • link

        public long link​(long pageAddr,
                         int idx)
        Specified by:
        link in interface InlineIO
        Parameters:
        pageAddr - Page address.
        idx - Index.
        Returns:
        Row link.
      • inlineSize

        public int inlineSize()
        Specified by:
        inlineSize in interface InlineIO
        Returns:
        Number of bytes stored in the inline payload.