public class IndexUpdateByQueryResponse
extends org.elasticsearch.action.ActionResponse
| Constructor and Description |
|---|
IndexUpdateByQueryResponse(String index,
ShardUpdateByQueryResponse[] shardResponses) |
| Modifier and Type | Method and Description |
|---|---|
long |
countShardResponses() |
Map<Integer,String> |
failuresByShard() |
String |
getIndex() |
boolean |
hasFailures() |
String |
index() |
IndexUpdateByQueryResponse |
index(String index) |
void |
readFrom(org.elasticsearch.common.io.stream.StreamInput in) |
static IndexUpdateByQueryResponse |
readResponseItem(org.elasticsearch.common.io.stream.StreamInput in) |
Map<Integer,org.elasticsearch.action.bulk.BulkItemResponse[]> |
responsesByShard() |
IndexUpdateByQueryResponse |
shardResponses(ShardUpdateByQueryResponse[] responses) |
long |
totalHits() |
long |
updated() |
void |
writeTo(org.elasticsearch.common.io.stream.StreamOutput out) |
getHeader, getHeaders, hasHeader, putHeader, remoteAddress, remoteAddresspublic IndexUpdateByQueryResponse(String index, ShardUpdateByQueryResponse[] shardResponses)
public String index()
public String getIndex()
public IndexUpdateByQueryResponse index(String index)
public IndexUpdateByQueryResponse shardResponses(ShardUpdateByQueryResponse[] responses)
public Map<Integer,org.elasticsearch.action.bulk.BulkItemResponse[]> responsesByShard()
public long totalHits()
public long updated()
public long countShardResponses()
public boolean hasFailures()
public void readFrom(org.elasticsearch.common.io.stream.StreamInput in)
throws IOException
readFrom in interface org.elasticsearch.common.io.stream.StreamablereadFrom in class org.elasticsearch.action.ActionResponseIOExceptionpublic void writeTo(org.elasticsearch.common.io.stream.StreamOutput out)
throws IOException
writeTo in interface org.elasticsearch.common.io.stream.StreamablewriteTo in class org.elasticsearch.action.ActionResponseIOExceptionpublic static IndexUpdateByQueryResponse readResponseItem(org.elasticsearch.common.io.stream.StreamInput in) throws IOException
IOExceptionCopyright © 2013-2015. All Rights Reserved.