Class KeyRecordList

  • All Implemented Interfaces:
    IKeyRecordList

    public class KeyRecordList
    extends java.lang.Object
    implements IKeyRecordList
    A class represents a list of key records.

    Version:
    $Revision$, $Date$
    Author:
    thomask
    • Method Detail

      • getSize

        public int getSize()
        Retrieves the size of key list.
        Specified by:
        getSize in interface IKeyRecordList
        Returns:
        size of key list
      • getSizeBeforeJumpTo

        public int getSizeBeforeJumpTo()
      • getSizeAfterJumpTo

        public int getSizeAfterJumpTo()
      • getKeyRecord

        public IKeyRecord getKeyRecord​(int i)
      • getKeyRecords

        public java.util.Enumeration<IKeyRecord> getKeyRecords​(int startidx,
                                                               int endidx)
                                                        throws EBaseException
        Retrieves requests.
        Specified by:
        getKeyRecords in interface IKeyRecordList
        Parameters:
        startidx - start index
        endidx - end index
        Returns:
        key records
        Throws:
        EBaseException - failed to retrieve key records