public class BulkResponse extends ActionResponse implements Iterable<BulkItemResponse>
TransportResponse.Emptyheaders| コンストラクタと説明 |
|---|
BulkResponse(BulkItemResponse[] responses,
long tookInMillis) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
String |
buildFailureMessage() |
BulkItemResponse[] |
getItems()
The items representing each action performed in the bulk operation (in the same order!).
|
TimeValue |
getTook()
How long the bulk execution took.
|
long |
getTookInMillis()
How long the bulk execution took in milliseconds.
|
boolean |
hasFailures()
Has anything failed with the execution.
|
Iterator<BulkItemResponse> |
iterator() |
void |
readFrom(StreamInput in) |
void |
writeTo(StreamOutput out) |
remoteAddress, remoteAddresscontextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic BulkResponse(BulkItemResponse[] responses, long tookInMillis)
public TimeValue getTook()
public long getTookInMillis()
public boolean hasFailures()
public String buildFailureMessage()
public BulkItemResponse[] getItems()
public Iterator<BulkItemResponse> iterator()
iterator インタフェース内 Iterable<BulkItemResponse>public void readFrom(StreamInput in) throws IOException
readFrom インタフェース内 StreamablereadFrom クラス内 ActionResponseIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo インタフェース内 StreamablewriteTo クラス内 ActionResponseIOExceptionCopyright © 2009–2016. All rights reserved.