org.elasticsearch.action.admin.indices.analyze
Class AnalyzeResponse
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnalyzeResponse
public AnalyzeResponse(List<AnalyzeResponse.AnalyzeToken> tokens)
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.