Class DebugCursor

java.lang.Object
io.objectbox.internal.DebugCursor
All Implemented Interfaces:
Closeable, AutoCloseable

@Beta public class DebugCursor extends Object implements Closeable
Not intended for normal use.
  • Field Details

    • tx

      private final Transaction tx
    • handle

      private final long handle
    • closed

      private boolean closed
  • Constructor Details

    • DebugCursor

      public DebugCursor(Transaction tx, long handle)
  • Method Details

    • nativeCreate

      static long nativeCreate(long txHandle)
    • nativeDestroy

      static void nativeDestroy(long handle)
    • nativeGet

      static byte[] nativeGet(long handle, byte[] key)
    • nativeSeekOrNext

      static byte[] nativeSeekOrNext(long handle, byte[] key)
    • create

      public static DebugCursor create(Transaction tx)
    • close

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

      protected void finalize() throws Throwable
      Explicitly call close() instead to avoid expensive finalization.
      Overrides:
      finalize in class Object
      Throws:
      Throwable
    • get

      public byte[] get(byte[] key)
    • seekOrNext

      public byte[] seekOrNext(byte[] key)