private NativeWriteOptions convert(WriteOptions options) { if(options==null) { return null; } NativeWriteOptions rc = new NativeWriteOptions(); rc.sync(options.sync()); if(options.snapshot()) { throw new UnsupportedOperationException("WriteOptions snapshot not supported"); } return rc; }
private NativeWriteOptions convert(WriteOptions options) { if(options==null) { return null; } NativeWriteOptions rc = new NativeWriteOptions(); rc.sync(options.sync()); if(options.snapshot()) { throw new UnsupportedOperationException("WriteOptions snapshot not supported"); } return rc; }
private NativeWriteOptions convert(WriteOptions options) { if(options==null) { return null; } NativeWriteOptions rc = new NativeWriteOptions(); rc.sync(options.sync()); if(options.snapshot()) { throw new UnsupportedOperationException("WriteOptions snapshot not supported"); } return rc; }