public static class DetailAnalyzeResponse.CharFilteredText extends Object implements Streamable, ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsEMPTY_PARAMS| Constructor and Description |
|---|
DetailAnalyzeResponse.CharFilteredText(String name,
String[] texts) |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
String[] |
getTexts() |
static DetailAnalyzeResponse.CharFilteredText |
readCharFilteredText(StreamInput in) |
void |
readFrom(StreamInput in) |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out) |
public String getName()
public String[] getTexts()
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent in interface ToXContentIOExceptionpublic static DetailAnalyzeResponse.CharFilteredText readCharFilteredText(StreamInput in) throws IOException
IOExceptionpublic 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.