public static class AnalyzeResponse.AnalyzeToken extends Object implements Streamable, ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsEMPTY_PARAMS| コンストラクタと説明 |
|---|
AnalyzeToken(String term,
int position,
int startOffset,
int endOffset,
String type,
Map<String,Object> attributes) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
Map<String,Object> |
getAttributes() |
int |
getEndOffset() |
int |
getPosition() |
int |
getStartOffset() |
String |
getTerm() |
String |
getType() |
static AnalyzeResponse.AnalyzeToken |
readAnalyzeToken(StreamInput in) |
void |
readFrom(StreamInput in) |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out) |
public String getTerm()
public int getStartOffset()
public int getEndOffset()
public int getPosition()
public String getType()
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent インタフェース内 ToXContentIOExceptionpublic static AnalyzeResponse.AnalyzeToken readAnalyzeToken(StreamInput in) throws IOException
IOExceptionpublic void readFrom(StreamInput in) throws IOException
readFrom インタフェース内 StreamableIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo インタフェース内 StreamableIOExceptionCopyright © 2009–2016. All rights reserved.