public class BulkIndexByScrollResponse extends ActionResponse implements ToXContent
TransportResponse.EmptyToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsheadersEMPTY_PARAMS| Constructor and Description |
|---|
BulkIndexByScrollResponse() |
BulkIndexByScrollResponse(TimeValue took,
BulkByScrollTask.Status status,
List<BulkItemResponse.Failure> indexingFailures,
List<ShardSearchFailure> searchFailures,
boolean timedOut) |
| Modifier and Type | Method and Description |
|---|---|
int |
getBatches() |
List<BulkItemResponse.Failure> |
getIndexingFailures()
All of the indexing failures.
|
long |
getNoops() |
String |
getReasonCancelled()
The reason that the request was canceled or null if it hasn't been.
|
List<ShardSearchFailure> |
getSearchFailures()
All search failures.
|
protected BulkByScrollTask.Status |
getStatus() |
TimeValue |
getTook() |
long |
getUpdated() |
long |
getVersionConflicts() |
boolean |
isTimedOut()
Did any of the sub-requests that were part of this request timeout?
|
void |
readFrom(StreamInput in) |
String |
toString() |
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 BulkIndexByScrollResponse()
public BulkIndexByScrollResponse(TimeValue took, BulkByScrollTask.Status status, List<BulkItemResponse.Failure> indexingFailures, List<ShardSearchFailure> searchFailures, boolean timedOut)
public TimeValue getTook()
protected BulkByScrollTask.Status getStatus()
public long getUpdated()
public int getBatches()
public long getVersionConflicts()
public long getNoops()
public String getReasonCancelled()
public List<BulkItemResponse.Failure> getIndexingFailures()
public List<ShardSearchFailure> getSearchFailures()
public boolean isTimedOut()
public void writeTo(StreamOutput out) throws IOException
writeTo in interface StreamablewriteTo in class ActionResponseIOExceptionpublic void readFrom(StreamInput in) throws IOException
readFrom in interface StreamablereadFrom in class ActionResponseIOExceptionpublic XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent in interface ToXContentIOExceptionCopyright © 2009–2017. All rights reserved.