public static class TermSuggestion.Entry.Option extends Suggest.Suggestion.Entry.Option
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsEMPTY_PARAMS| 修飾子 | コンストラクタと説明 |
|---|---|
protected |
Option() |
protected |
Option(Text text,
int freq,
float score) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
int |
getFreq() |
protected XContentBuilder |
innerToXContent(XContentBuilder builder,
ToXContent.Params params) |
protected void |
mergeInto(Suggest.Suggestion.Entry.Option otherOption) |
void |
readFrom(StreamInput in) |
void |
setFreq(int freq) |
void |
writeTo(StreamOutput out) |
collateMatch, equals, getHighlighted, getScore, getText, hashCode, setScore, toXContentprotected Option(Text text, int freq, float score)
protected Option()
protected void mergeInto(Suggest.Suggestion.Entry.Option otherOption)
mergeInto クラス内 Suggest.Suggestion.Entry.Optionpublic void setFreq(int freq)
public int getFreq()
public void readFrom(StreamInput in) throws IOException
readFrom インタフェース内 StreamablereadFrom クラス内 Suggest.Suggestion.Entry.OptionIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo インタフェース内 StreamablewriteTo クラス内 Suggest.Suggestion.Entry.OptionIOExceptionprotected XContentBuilder innerToXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
innerToXContent クラス内 Suggest.Suggestion.Entry.OptionIOExceptionCopyright © 2009–2016. All rights reserved.