org.elasticsearch.action.admin.indices.analyze
Class AnalyzeResponse

java.lang.Object
  extended by org.elasticsearch.action.admin.indices.analyze.AnalyzeResponse
All Implemented Interfaces:
java.lang.Iterable<AnalyzeResponse.AnalyzeToken>, ActionResponse, Streamable, ToXContent

public class AnalyzeResponse
extends java.lang.Object
implements ActionResponse, java.lang.Iterable<AnalyzeResponse.AnalyzeToken>, ToXContent


Nested Class Summary
static class AnalyzeResponse.AnalyzeToken
           
 
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
ToXContent.MapParams, ToXContent.Params
 
Field Summary
 
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
 
Constructor Summary
AnalyzeResponse(java.util.List<AnalyzeResponse.AnalyzeToken> tokens)
           
 
Method Summary
 java.util.List<AnalyzeResponse.AnalyzeToken> getTokens()
           
 java.util.Iterator<AnalyzeResponse.AnalyzeToken> iterator()
           
 void readFrom(StreamInput in)
           
 java.util.List<AnalyzeResponse.AnalyzeToken> tokens()
           
 XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params)
           
 void writeTo(StreamOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnalyzeResponse

public AnalyzeResponse(java.util.List<AnalyzeResponse.AnalyzeToken> tokens)
Method Detail

tokens

public java.util.List<AnalyzeResponse.AnalyzeToken> tokens()

getTokens

public java.util.List<AnalyzeResponse.AnalyzeToken> getTokens()

iterator

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

toXContent

public XContentBuilder toXContent(XContentBuilder builder,
                                  ToXContent.Params params)
                           throws java.io.IOException
Specified by:
toXContent in interface ToXContent
Throws:
java.io.IOException

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