Modifier and Type | Method and Description |
---|---|
Response |
CouchDbClientBase.post(Object object)
Saves an object in the database using HTTP POST request.
|
Response |
Replicator.remove()
Removes a document from the replicator database.
|
Response |
CouchDbClientBase.remove(Object object)
Removes a document from the database.
|
Response |
CouchDbClientBase.remove(String id,
String rev)
Removes a document from the database given both a document
_id and _rev values. |
Response |
Replicator.save()
Adds a new document to the replicator database.
|
Response |
CouchDbClientBase.save(Object object)
Saves an object in the database, using HTTP PUT request.
|
Response |
CouchDbClientBase.saveAttachment(InputStream in,
String name,
String contentType)
Saves an attachment to a new document with a generated UUID as the document id.
|
Response |
CouchDbClientBase.saveAttachment(InputStream in,
String name,
String contentType,
String docId,
String docRev)
Saves an attachment to an existing document given both a document id
and revision, or save to a new document given only the id, and rev as
null . |
Response |
CouchDbDesign.synchronizeWithDb(DesignDocument document)
Synchronizes a design document to the Database.
|
Response |
CouchDbClientBase.update(Object object)
Updates an object in the database, the object must have the correct
_id and _rev values. |
Modifier and Type | Method and Description |
---|---|
List<Response> |
CouchDbClientBase.bulk(List<?> objects,
boolean allOrNothing)
Performs a Bulk Documents insert request.
|
Copyright © 2011–2016. All rights reserved.