Modifier and Type | Method and Description |
---|---|
Response |
CouchDbClientBase.post(java.lang.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(java.lang.Object object)
Removes a document from the database.
|
Response |
CouchDbClientBase.remove(java.lang.String id,
java.lang.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(java.lang.Object object)
Saves an object in the database, using HTTP PUT request.
|
Response |
CouchDbClientBase.saveAttachment(java.io.InputStream in,
java.lang.String name,
java.lang.String contentType)
Saves an attachment to a new document with a generated UUID as the document id.
|
Response |
CouchDbClientBase.saveAttachment(java.io.InputStream in,
java.lang.String name,
java.lang.String contentType,
java.lang.String docId,
java.lang.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(java.lang.Object object)
Updates an object in the database, the object must have the correct
_id and _rev values. |
Modifier and Type | Method and Description |
---|---|
java.util.List<Response> |
CouchDbClientBase.bulk(java.util.List<?> objects,
boolean newEdits)
Performs bulk documents create and update request.
|
Copyright © 2011-2017. All Rights Reserved.