public static class DetailAnalyzeResponse.CharFilteredText extends Object implements Streamable, ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
EMPTY_PARAMS
Constructor and Description |
---|
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 ToXContent
IOException
public static DetailAnalyzeResponse.CharFilteredText readCharFilteredText(StreamInput in) throws IOException
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–2016. All rights reserved.