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

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

public class AnalyzeResponse
extends Object
implements ActionResponse, 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(List<AnalyzeResponse.AnalyzeToken> tokens)
           
 
Method Summary
 List<AnalyzeResponse.AnalyzeToken> getTokens()
           
 Iterator<AnalyzeResponse.AnalyzeToken> iterator()
           
 void readFrom(StreamInput in)
           
 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(List<AnalyzeResponse.AnalyzeToken> tokens)
Method Detail

tokens

public List<AnalyzeResponse.AnalyzeToken> tokens()

getTokens

public List<AnalyzeResponse.AnalyzeToken> getTokens()

iterator

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

toXContent

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

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.