de.spinscale.elasticsearch.action.suggest.suggest
Class ShardSuggestResponse

java.lang.Object
  extended by org.elasticsearch.transport.TransportResponse
      extended by org.elasticsearch.action.support.broadcast.BroadcastShardOperationResponse
          extended by de.spinscale.elasticsearch.action.suggest.suggest.ShardSuggestResponse
All Implemented Interfaces:
org.elasticsearch.common.io.stream.Streamable

public class ShardSuggestResponse
extends org.elasticsearch.action.support.broadcast.BroadcastShardOperationResponse


Nested Class Summary
 
Nested classes/interfaces inherited from class org.elasticsearch.transport.TransportResponse
org.elasticsearch.transport.TransportResponse.Empty
 
Constructor Summary
ShardSuggestResponse()
           
ShardSuggestResponse(String index, int shardId, List<String> suggestions)
           
 
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.BroadcastShardOperationResponse
getIndex, getShardId
 
Methods inherited from class org.elasticsearch.transport.TransportResponse
getHeader, getHeaders, putHeader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShardSuggestResponse

public ShardSuggestResponse()

ShardSuggestResponse

public ShardSuggestResponse(String index,
                            int shardId,
                            List<String> suggestions)
Method Detail

getSuggestions

public List<String> getSuggestions()

suggestions

public List<String> suggestions()

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.BroadcastShardOperationResponse
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.BroadcastShardOperationResponse
Throws:
IOException


Copyright © 2011-2013. All Rights Reserved.