public Status Remove(WriteOptions options, string key) { Status ret = new Status(LeveldbPINVOKE.DBAccessor_Remove(swigCPtr, WriteOptions.getCPtr(options), key), true); if (LeveldbPINVOKE.SWIGPendingException.Pending) throw LeveldbPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public Status Write(WriteOptions options, DBWriteBatch updates) { Status ret = new Status(LeveldbPINVOKE.DBAccessor_Write(swigCPtr, WriteOptions.getCPtr(options), DBWriteBatch.getCPtr(updates)), true); if (LeveldbPINVOKE.SWIGPendingException.Pending) throw LeveldbPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public Status getStatus() { Status ret = new Status(LeveldbPINVOKE.DBTableBuilder_getStatus(swigCPtr), true); return ret; }
public Status Open(Options options, string name) { Status ret = new Status(LeveldbPINVOKE.DBAccessor_Open(swigCPtr, Options.getCPtr(options), name), true); if (LeveldbPINVOKE.SWIGPendingException.Pending) throw LeveldbPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public Status add(string key, string value) { Status ret = new Status(LeveldbPINVOKE.DBTableBuilder_add(swigCPtr, key, value), true); if (LeveldbPINVOKE.SWIGPendingException.Pending) throw LeveldbPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public Status finish() { Status ret = new Status(LeveldbPINVOKE.DBTableBuilder_finish(swigCPtr), true); return ret; }
public Status setOptions(Options options) { Status ret = new Status(LeveldbPINVOKE.DBTableBuilder_setOptions(swigCPtr, Options.getCPtr(options)), true); if (LeveldbPINVOKE.SWIGPendingException.Pending) throw LeveldbPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public Status open(string fname) { Status ret = new Status(LeveldbPINVOKE.DBTableBuilder_open(swigCPtr, fname), true); if (LeveldbPINVOKE.SWIGPendingException.Pending) throw LeveldbPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public Status status() { Status ret = new Status(LeveldbPINVOKE.DBIterator_status(swigCPtr), true); return ret; }
public static Status RepairDB(string dbname, Options options) { Status ret = new Status(LeveldbPINVOKE.RepairDB(dbname, Options.getCPtr(options)), true); if (LeveldbPINVOKE.SWIGPendingException.Pending) throw LeveldbPINVOKE.SWIGPendingException.Retrieve(); return ret; }
internal static HandleRef getCPtr(Status obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }