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