org.elasticsearch.action.percolate
Class PercolateResponse

java.lang.Object
  extended by org.elasticsearch.action.percolate.PercolateResponse
All Implemented Interfaces:
Iterable<String>, ActionResponse, Streamable

public class PercolateResponse
extends Object
implements ActionResponse, Iterable<String>


Constructor Summary
PercolateResponse(List<String> matches)
           
 
Method Summary
 Iterator<String> iterator()
           
 List<String> matches()
           
 void readFrom(StreamInput in)
           
 void writeTo(StreamOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PercolateResponse

public PercolateResponse(List<String> matches)
Method Detail

matches

public List<String> matches()

iterator

public Iterator<String> iterator()
Specified by:
iterator in interface Iterable<String>

readFrom

public void readFrom(StreamInput in)
              throws IOException
Specified by:
readFrom in interface Streamable
Throws:
IOException

writeTo

public void writeTo(StreamOutput out)
             throws IOException
Specified by:
writeTo in interface Streamable
Throws:
IOException


Copyright © 2009-2012. All Rights Reserved.