public class SuggestRefreshResponse
extends org.elasticsearch.action.support.broadcast.BroadcastOperationResponse
implements org.elasticsearch.common.xcontent.ToXContent
| Constructor and Description |
|---|
SuggestRefreshResponse() |
SuggestRefreshResponse(int totalShards,
int successfulShards,
int failedShards,
java.util.List<org.elasticsearch.action.ShardOperationFailedException> shardFailures) |
| Modifier and Type | Method and Description |
|---|---|
void |
readFrom(org.elasticsearch.common.io.stream.StreamInput in) |
org.elasticsearch.common.xcontent.XContentBuilder |
toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder,
org.elasticsearch.common.xcontent.ToXContent.Params params) |
void |
writeTo(org.elasticsearch.common.io.stream.StreamOutput out) |
getFailedShards, getShardFailures, getSuccessfulShards, getTotalShardspublic SuggestRefreshResponse()
public SuggestRefreshResponse(int totalShards,
int successfulShards,
int failedShards,
java.util.List<org.elasticsearch.action.ShardOperationFailedException> shardFailures)
public void readFrom(org.elasticsearch.common.io.stream.StreamInput in)
throws java.io.IOException
readFrom in interface org.elasticsearch.common.io.stream.StreamablereadFrom in class org.elasticsearch.action.support.broadcast.BroadcastOperationResponsejava.io.IOExceptionpublic void writeTo(org.elasticsearch.common.io.stream.StreamOutput out)
throws java.io.IOException
writeTo in interface org.elasticsearch.common.io.stream.StreamablewriteTo in class org.elasticsearch.action.support.broadcast.BroadcastOperationResponsejava.io.IOExceptionpublic org.elasticsearch.common.xcontent.XContentBuilder toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder,
org.elasticsearch.common.xcontent.ToXContent.Params params)
throws java.io.IOException
toXContent in interface org.elasticsearch.common.xcontent.ToXContentjava.io.IOExceptionCopyright © 2011-2014. All Rights Reserved.