Class DebugCursor

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

    @Beta
    public class DebugCursor
    extends java.lang.Object
    implements java.io.Closeable
    Not intended for normal use.
    • Field Detail

      • handle

        private final long handle
      • closed

        private boolean closed
    • Constructor Detail

      • DebugCursor

        public DebugCursor​(Transaction tx,
                           long handle)
    • Method Detail

      • 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)
      • close

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

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

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

        public byte[] seekOrNext​(byte[] key)