public class CouchDbClientWrapper extends Object
| Constructor and Description |
|---|
CouchDbClientWrapper(org.lightcouch.CouchDbClient client) |
| Modifier and Type | Method and Description |
|---|---|
org.lightcouch.Changes |
changes() |
org.lightcouch.CouchDbContext |
context() |
Object |
get(String id) |
String |
getLatestUpdateSequence()
In CouchDB 2.3.x, the purge_seq field type was changed from number to string.
|
org.lightcouch.Response |
remove(Object doc) |
org.lightcouch.Response |
save(Object doc) |
org.lightcouch.Response |
update(Object doc) |
public CouchDbClientWrapper(org.lightcouch.CouchDbClient client)
public org.lightcouch.Response update(Object doc)
public org.lightcouch.Response save(Object doc)
public org.lightcouch.Response remove(Object doc)
public org.lightcouch.Changes changes()
public org.lightcouch.CouchDbContext context()
public String getLatestUpdateSequence()
CouchDbContext.info() was throwing an exception. This method workarounds the issue by
getting the update_seq field while ignoring the purge_seq field.Apache Camel