org.ektorp
Class BulkDeleteDocument
java.lang.Object
org.ektorp.BulkDeleteDocument
- All Implemented Interfaces:
- Serializable
public class BulkDeleteDocument
- extends Object
- implements Serializable
This class can be used to delete documents in bulk operations.
Add an instance for each document to be deleted to the objects collection.
- Author:
- henrik lundgren
- See Also:
- Serialized Form
BulkDeleteDocument
public BulkDeleteDocument(String id,
String rev)
of
public static BulkDeleteDocument of(Object o)
- Will create a bulk delete document based on the specified object.
- Parameters:
o
-
- Returns:
getId
public String getId()
getRevision
public String getRevision()
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
setRevision
public void setRevision(String s)
- Dummy setter, only exists because the BulkOperationResponseHandler tries to set revision
on all objects, no matter what.
- Parameters:
s
-
Copyright © 2011. All Rights Reserved.