org.elasticsearch.action.percolate
Class PercolateResponse

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

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


Constructor Summary
PercolateResponse(java.util.List<java.lang.String> matches)
           
 
Method Summary
 java.util.Iterator<java.lang.String> iterator()
           
 java.util.List<java.lang.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(java.util.List<java.lang.String> matches)
Method Detail

matches

public java.util.List<java.lang.String> matches()

iterator

public java.util.Iterator<java.lang.String> iterator()
Specified by:
iterator in interface java.lang.Iterable<java.lang.String>

readFrom

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

writeTo

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