|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.elasticsearch.action.delete.DeleteResponse
public class DeleteResponse
The response of the delete action.
DeleteRequest
,
Client.delete(DeleteRequest)
Constructor Summary | |
---|---|
DeleteResponse()
|
|
DeleteResponse(String index,
String type,
String id,
long version,
boolean notFound)
|
Method Summary | |
---|---|
String |
getId()
The id of the document deleted. |
String |
getIndex()
The index the document was deleted from. |
String |
getType()
The type of the document deleted. |
long |
getVersion()
The version of the delete operation. |
String |
id()
The id of the document deleted. |
String |
index()
The index the document was deleted from. |
boolean |
isNotFound()
Returns true if there was no doc found to delete. |
boolean |
notFound()
Returns true if there was no doc found to delete. |
void |
readFrom(StreamInput in)
|
String |
type()
The type of the document deleted. |
long |
version()
The version of the delete operation. |
void |
writeTo(StreamOutput out)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DeleteResponse()
public DeleteResponse(String index, String type, String id, long version, boolean notFound)
Method Detail |
---|
public String index()
public String getIndex()
public String type()
public String getType()
public String id()
public String getId()
public long version()
public long getVersion()
public boolean notFound()
public boolean isNotFound()
public void readFrom(StreamInput in) throws IOException
readFrom
in interface Streamable
IOException
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |