public static class DetailAnalyzeResponse.AnalyzeTokenList extends Object implements Streamable, ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsEMPTY_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
IOExceptionpublic XContentBuilder toXContentWithoutObject(XContentBuilder builder, ToXContent.Params params) throws IOException
IOExceptionpublic XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent in interface ToXContentIOExceptionpublic void readFrom(StreamInput in) throws IOException
readFrom in interface StreamableIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo in interface StreamableIOExceptionCopyright © 2009–2017. All rights reserved.