Class MappedBuffer

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable

    public class MappedBuffer
    extends java.lang.Object
    implements java.io.Closeable
    • Method Detail

      • comparePageTo

        public int comparePageTo​(long offset,
                                 int length,
                                 AbstractType<?> comparator,
                                 java.nio.ByteBuffer other)
      • capacity

        public long capacity()
      • position

        public long position()
      • position

        public MappedBuffer position​(long newPosition)
      • limit

        public long limit()
      • remaining

        public long remaining()
      • hasRemaining

        public boolean hasRemaining()
      • get

        public byte get()
      • get

        public byte get​(long pos)
      • getShort

        public short getShort()
      • getShort

        public short getShort​(long pos)
      • getInt

        public int getInt()
      • getInt

        public int getInt​(long pos)
      • getLong

        public long getLong()
      • getLong

        public long getLong​(long pos)
      • getPageRegion

        public java.nio.ByteBuffer getPageRegion​(long position,
                                                 int length)
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable