public class SuggestResponse
extends org.elasticsearch.action.support.broadcast.BroadcastOperationResponse
| Constructor and Description |
|---|
SuggestResponse() |
SuggestResponse(List<String> suggestions,
int totalShards,
int successfulShards,
int failedShards,
List<org.elasticsearch.action.ShardOperationFailedException> shardFailures) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getSuggestions() |
void |
readFrom(org.elasticsearch.common.io.stream.StreamInput in) |
List<String> |
suggestions() |
void |
writeTo(org.elasticsearch.common.io.stream.StreamOutput out) |
getFailedShards, getShardFailures, getSuccessfulShards, getTotalShardspublic 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.support.broadcast.BroadcastOperationResponseIOExceptionpublic 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.support.broadcast.BroadcastOperationResponseIOExceptionCopyright © 2011-2014. All Rights Reserved.