public class DeleteByQueryResponse extends ActionResponse implements ToXContent
DeleteByQueryRequestTransportResponse.EmptyToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsheadersEMPTY_PARAMS| Modifier and Type | Method and Description |
|---|---|
IndexDeleteByQueryResponse |
getIndex(String index)
The response of a specific index.
|
IndexDeleteByQueryResponse[] |
getIndices()
The responses from all the different indices.
|
ShardOperationFailedException[] |
getShardFailures() |
TimeValue |
getTook() |
long |
getTookInMillis() |
long |
getTotalDeleted() |
long |
getTotalFailed() |
long |
getTotalFound() |
long |
getTotalMissing() |
boolean |
isTimedOut() |
void |
readFrom(StreamInput in) |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out) |
remoteAddress, remoteAddresscontextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContextpublic IndexDeleteByQueryResponse[] getIndices()
public IndexDeleteByQueryResponse getIndex(String index)
public TimeValue getTook()
public long getTookInMillis()
public boolean isTimedOut()
public long getTotalFound()
public long getTotalDeleted()
public long getTotalMissing()
public long getTotalFailed()
public ShardOperationFailedException[] getShardFailures()
public void readFrom(StreamInput in) throws IOException
readFrom in interface StreamablereadFrom in class ActionResponseIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo in interface StreamablewriteTo in class ActionResponseIOExceptionpublic XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent in interface ToXContentIOExceptionCopyright © 2009–2017. All rights reserved.