org.elasticsearch.action.suggest
Class SuggestResponse

java.lang.Object
  extended by org.elasticsearch.action.support.broadcast.BroadcastOperationResponse
      extended by org.elasticsearch.action.suggest.SuggestResponse
All Implemented Interfaces:
org.elasticsearch.action.ActionResponse, org.elasticsearch.common.io.stream.Streamable

public class SuggestResponse
extends org.elasticsearch.action.support.broadcast.BroadcastOperationResponse


Constructor Summary
SuggestResponse()
           
SuggestResponse(List<String> suggestions, int totalShards, int successfulShards, int failedShards, List<org.elasticsearch.action.ShardOperationFailedException> shardFailures)
           
 
Method Summary
 List<String> getSuggestions()
           
 void readFrom(org.elasticsearch.common.io.stream.StreamInput in)
           
 List<String> suggestions()
           
 void writeTo(org.elasticsearch.common.io.stream.StreamOutput out)
           
 
Methods inherited from class org.elasticsearch.action.support.broadcast.BroadcastOperationResponse
failedShards, getFailedShards, getShardFailures, getSuccessfulShards, getTotalShards, shardFailures, successfulShards, totalShards
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SuggestResponse

public SuggestResponse()

SuggestResponse

public SuggestResponse(List<String> suggestions,
                       int totalShards,
                       int successfulShards,
                       int failedShards,
                       List<org.elasticsearch.action.ShardOperationFailedException> shardFailures)
Method Detail

suggestions

public List<String> suggestions()

getSuggestions

public List<String> getSuggestions()

readFrom

public void readFrom(org.elasticsearch.common.io.stream.StreamInput in)
              throws IOException
Specified by:
readFrom in interface org.elasticsearch.common.io.stream.Streamable
Overrides:
readFrom in class org.elasticsearch.action.support.broadcast.BroadcastOperationResponse
Throws:
IOException

writeTo

public void writeTo(org.elasticsearch.common.io.stream.StreamOutput out)
             throws IOException
Specified by:
writeTo in interface org.elasticsearch.common.io.stream.Streamable
Overrides:
writeTo in class org.elasticsearch.action.support.broadcast.BroadcastOperationResponse
Throws:
IOException


Copyright © 2011-2012. All Rights Reserved.