public static class DetailAnalyzeResponse.AnalyzeTokenList extends Object implements Streamable, ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
EMPTY_PARAMS
Constructor and Description |
---|
DetailAnalyzeResponse.AnalyzeTokenList(String name,
AnalyzeResponse.AnalyzeToken[] tokens) |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
AnalyzeResponse.AnalyzeToken[] |
getTokens() |
static DetailAnalyzeResponse.AnalyzeTokenList |
readAnalyzeTokenList(StreamInput in) |
void |
readFrom(StreamInput in) |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
XContentBuilder |
toXContentWithoutObject(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out) |
public DetailAnalyzeResponse.AnalyzeTokenList(String name, AnalyzeResponse.AnalyzeToken[] tokens)
public String getName()
public AnalyzeResponse.AnalyzeToken[] getTokens()
public static DetailAnalyzeResponse.AnalyzeTokenList readAnalyzeTokenList(StreamInput in) throws IOException
IOException
public XContentBuilder toXContentWithoutObject(XContentBuilder builder, ToXContent.Params params) throws IOException
IOException
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent
in interface ToXContent
IOException
public void readFrom(StreamInput in) throws IOException
readFrom
in interface Streamable
IOException
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
IOException
Copyright © 2009–2017. All rights reserved.