Class JniDBIterator

java.lang.Object
org.fusesource.leveldbjni.internal.JniDBIterator
All Implemented Interfaces:
Closeable, AutoCloseable, Iterator<Map.Entry<byte[],byte[]>>, org.iq80.leveldb.DBIterator

public class JniDBIterator extends Object implements org.iq80.leveldb.DBIterator
  • Field Details

  • Constructor Details

  • Method Details

    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
    • remove

      public void remove()
      Specified by:
      remove in interface Iterator<Map.Entry<byte[],byte[]>>
    • seek

      public void seek(byte[] key)
      Specified by:
      seek in interface org.iq80.leveldb.DBIterator
    • seekToFirst

      public void seekToFirst()
      Specified by:
      seekToFirst in interface org.iq80.leveldb.DBIterator
    • seekToLast

      public void seekToLast()
      Specified by:
      seekToLast in interface org.iq80.leveldb.DBIterator
    • peekNext

      public Map.Entry<byte[],byte[]> peekNext()
      Specified by:
      peekNext in interface org.iq80.leveldb.DBIterator
    • hasNext

      public boolean hasNext()
      Specified by:
      hasNext in interface Iterator<Map.Entry<byte[],byte[]>>
    • next

      public Map.Entry<byte[],byte[]> next()
      Specified by:
      next in interface Iterator<Map.Entry<byte[],byte[]>>
    • hasPrev

      public boolean hasPrev()
      Specified by:
      hasPrev in interface org.iq80.leveldb.DBIterator
    • peekPrev

      public Map.Entry<byte[],byte[]> peekPrev()
      Specified by:
      peekPrev in interface org.iq80.leveldb.DBIterator
    • prev

      public Map.Entry<byte[],byte[]> prev()
      Specified by:
      prev in interface org.iq80.leveldb.DBIterator