org.elasticsearch.action.delete
Class DeleteResponse

java.lang.Object
  extended by org.elasticsearch.action.delete.DeleteResponse
All Implemented Interfaces:
ActionResponse, Streamable

public class DeleteResponse
extends java.lang.Object
implements ActionResponse, Streamable

The response of the delete action.

See Also:
DeleteRequest, Client.delete(DeleteRequest)

Constructor Summary
DeleteResponse()
           
DeleteResponse(java.lang.String index, java.lang.String type, java.lang.String id)
           
 
Method Summary
 java.lang.String getId()
          The id of the document deleted.
 java.lang.String getIndex()
          The index the document was deleted from.
 java.lang.String getType()
          The type of the document deleted.
 java.lang.String id()
          The id of the document deleted.
 java.lang.String index()
          The index the document was deleted from.
 void readFrom(StreamInput in)
           
 java.lang.String type()
          The type of the document deleted.
 void writeTo(StreamOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeleteResponse

public DeleteResponse()

DeleteResponse

public DeleteResponse(java.lang.String index,
                      java.lang.String type,
                      java.lang.String id)
Method Detail

index

public java.lang.String index()
The index the document was deleted from.


getIndex

public java.lang.String getIndex()
The index the document was deleted from.


type

public java.lang.String type()
The type of the document deleted.


getType

public java.lang.String getType()
The type of the document deleted.


id

public java.lang.String id()
The id of the document deleted.


getId

public java.lang.String getId()
The id of the document deleted.


readFrom

public void readFrom(StreamInput in)
              throws java.io.IOException
Specified by:
readFrom in interface Streamable
Throws:
java.io.IOException

writeTo

public void writeTo(StreamOutput out)
             throws java.io.IOException
Specified by:
writeTo in interface Streamable
Throws:
java.io.IOException