public static NativeSlice create(NativeBuffer buffer) { if(buffer == null ) { return null; } else { return new NativeSlice(buffer); } }
public static NativeSlice create(NativeBuffer buffer) { if(buffer == null ) { return null; } else { return new NativeSlice(buffer); } }
public static NativeSlice create(NativeBuffer buffer) { if(buffer == null ) { return null; } else { return new NativeSlice(buffer); } }
private void put(NativeWriteOptions options, NativeBuffer keyBuffer, NativeBuffer valueBuffer) throws DBException { put(options, new NativeSlice(keyBuffer), new NativeSlice(valueBuffer)); }
private void put(NativeBuffer keyBuffer, NativeBuffer valueBuffer) { put(new NativeSlice(keyBuffer), new NativeSlice(valueBuffer)); }
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()); }
private void delete(NativeWriteOptions options, NativeBuffer keyBuffer) throws DBException { delete(options, new NativeSlice(keyBuffer)); }
private void seek(NativeBuffer keyBuffer) throws NativeDB.DBException { seek(new NativeSlice(keyBuffer)); }
private byte[] getProperty(NativeBuffer nameBuffer) { return getProperty(new NativeSlice(nameBuffer)); }
private void delete(NativeBuffer keyBuffer) { delete(new NativeSlice(keyBuffer)); }
private byte[] get(NativeReadOptions options, NativeBuffer keyBuffer) throws DBException { return get(options, new NativeSlice(keyBuffer)); }
private byte[] getProperty(NativeBuffer nameBuffer) { return getProperty(new NativeSlice(nameBuffer)); }
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[] 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); } } }
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); } } }