- All Implemented Interfaces:
WriteResponse
,Writeable
,RefCounted
,ToXContent
,ToXContentObject
The response of the delete action.
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.elasticsearch.action.DocWriteResponse
DocWriteResponse.Result
Nested classes/interfaces inherited from class org.elasticsearch.action.support.replication.ReplicationResponse
ReplicationResponse.ShardInfo
Nested classes/interfaces inherited from class org.elasticsearch.action.ActionResponse
ActionResponse.Empty
Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
Field Summary
Fields inherited from class org.elasticsearch.action.DocWriteResponse
_ID, _INDEX, _PRIMARY_TERM, _SEQ_NO, _SHARDS, _VERSION, FORCED_REFRESH, result, RESULT
Fields inherited from class org.elasticsearch.action.support.replication.ReplicationResponse
NO_FAILURES
Fields inherited from interface org.elasticsearch.core.RefCounted
ALWAYS_REFERENCED
Fields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS
-
Constructor Summary
ConstructorsConstructorDescriptionDeleteResponse
(ShardId shardId, String id, long seqNo, long primaryTerm, long version, boolean found) DeleteResponse
(ShardId shardId, StreamInput in) -
Method Summary
Modifier and TypeMethodDescriptionstatus()
returns the rest status for this response (based onReplicationResponse.ShardInfo.status()
toString()
Methods inherited from class org.elasticsearch.action.DocWriteResponse
forcedRefresh, getId, getIndex, getLocation, getPrimaryTerm, getResult, getSeqNo, getShardId, getVersion, innerToXContent, setForcedRefresh, toXContent, writeThin, writeTo
Methods inherited from class org.elasticsearch.action.support.replication.ReplicationResponse
getShardInfo, setShardInfo
Methods inherited from class org.elasticsearch.transport.TransportMessage
decRef, hasReferences, incRef, remoteAddress, remoteAddress, tryIncRef
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.elasticsearch.core.RefCounted
mustIncRef
Methods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragment
-
Constructor Details
-
DeleteResponse
- Throws:
IOException
-
DeleteResponse
- Throws:
IOException
-
DeleteResponse
-
-
Method Details
-
status
Description copied from class:DocWriteResponse
returns the rest status for this response (based onReplicationResponse.ShardInfo.status()
- Overrides:
status
in classDocWriteResponse
-
toString
-