static String string(long ptr) { if( ptr == 0 ) return null; return new String(new NativeSlice(ptr, UtilJNI.strlen(ptr)).toByteArray()); }
static String string(long ptr) { if( ptr == 0 ) return null; return new String(new NativeSlice(ptr, UtilJNI.strlen(ptr)).toByteArray()); }
static String string(long ptr) { if( ptr == 0 ) return null; return new String(new NativeSlice(ptr, UtilJNI.strlen(ptr)).toByteArray()); }
public abstract int compare(byte[] key1, byte[] key2); public abstract String name();
public abstract int compare(byte[] key1, byte[] key2); public abstract String name();
public abstract int compare(byte[] key1, byte[] key2); public abstract String name();
public byte[] key() throws NativeDB.DBException { assertAllocated(); long slice_ptr = IteratorJNI.key(self); checkStatus(); try { NativeSlice slice = new NativeSlice(); slice.read(slice_ptr, 0); return slice.toByteArray(); } finally { NativeSlice.SliceJNI.delete(slice_ptr); } }
public byte[] value() throws NativeDB.DBException { assertAllocated(); long slice_ptr = IteratorJNI.value(self); checkStatus(); try { NativeSlice slice = new NativeSlice(); slice.read(slice_ptr, 0); return slice.toByteArray(); } finally { NativeSlice.SliceJNI.delete(slice_ptr); } } }
public byte[] key() throws NativeDB.DBException { assertAllocated(); long slice_ptr = IteratorJNI.key(self); checkStatus(); try { NativeSlice slice = new NativeSlice(); slice.read(slice_ptr, 0); return slice.toByteArray(); } finally { NativeSlice.SliceJNI.delete(slice_ptr); } }
public byte[] key() throws NativeDB.DBException { assertAllocated(); long slice_ptr = IteratorJNI.key(self); checkStatus(); try { NativeSlice slice = new NativeSlice(); slice.read(slice_ptr, 0); return slice.toByteArray(); } finally { NativeSlice.SliceJNI.delete(slice_ptr); } }
public byte[] value() throws NativeDB.DBException { assertAllocated(); long slice_ptr = IteratorJNI.value(self); checkStatus(); try { NativeSlice slice = new NativeSlice(); slice.read(slice_ptr, 0); return slice.toByteArray(); } finally { NativeSlice.SliceJNI.delete(slice_ptr); } } }
public byte[] value() throws NativeDB.DBException { assertAllocated(); long slice_ptr = IteratorJNI.value(self); checkStatus(); try { NativeSlice slice = new NativeSlice(); slice.read(slice_ptr, 0); return slice.toByteArray(); } finally { NativeSlice.SliceJNI.delete(slice_ptr); } } }