public class ShardUpdateByQueryResponse
extends org.elasticsearch.action.ActionResponse
| Constructor and Description |
|---|
ShardUpdateByQueryResponse(int shardId) |
ShardUpdateByQueryResponse(int shardId,
int totalHits,
int updated,
org.elasticsearch.action.bulk.BulkItemResponse[] bulkResponses) |
ShardUpdateByQueryResponse(int shardId,
String failure) |
| Modifier and Type | Method and Description |
|---|---|
org.elasticsearch.action.bulk.BulkItemResponse[] |
bulkResponses() |
String |
failedShardExceptionMessage() |
ShardUpdateByQueryResponse |
failedShardExceptionMessage(String failedShardExceptionMessage) |
void |
readFrom(org.elasticsearch.common.io.stream.StreamInput in) |
ShardUpdateByQueryResponse |
responses(org.elasticsearch.action.bulk.BulkItemResponse[] responses) |
int |
shardId() |
void |
shardId(int shardId) |
int |
totalHits() |
int |
updated() |
void |
writeTo(org.elasticsearch.common.io.stream.StreamOutput out) |
getHeader, getHeaders, hasHeader, putHeader, remoteAddress, remoteAddresspublic ShardUpdateByQueryResponse(int shardId)
public ShardUpdateByQueryResponse(int shardId,
int totalHits,
int updated,
org.elasticsearch.action.bulk.BulkItemResponse[] bulkResponses)
public ShardUpdateByQueryResponse(int shardId,
String failure)
public int shardId()
public void shardId(int shardId)
public int updated()
public String failedShardExceptionMessage()
public ShardUpdateByQueryResponse failedShardExceptionMessage(String failedShardExceptionMessage)
public org.elasticsearch.action.bulk.BulkItemResponse[] bulkResponses()
public ShardUpdateByQueryResponse responses(org.elasticsearch.action.bulk.BulkItemResponse[] responses)
public int totalHits()
public 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 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.ActionResponseIOExceptionCopyright © 2013-2015. All Rights Reserved.