public static class Suggest.Suggestion.Entry.Option extends Object implements Streamable, ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsEMPTY_PARAMS| コンストラクタと説明 |
|---|
Option() |
Option(Text text,
float score) |
Option(Text text,
Text highlighted,
float score) |
Option(Text text,
Text highlighted,
float score,
Boolean collateMatch) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
collateMatch() |
boolean |
equals(Object o) |
Text |
getHighlighted() |
float |
getScore() |
Text |
getText() |
int |
hashCode() |
protected XContentBuilder |
innerToXContent(XContentBuilder builder,
ToXContent.Params params) |
protected void |
mergeInto(Suggest.Suggestion.Entry.Option otherOption) |
void |
readFrom(StreamInput in) |
protected void |
setScore(float score) |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out) |
public Option(Text text, float score)
public Option()
public Text getText()
public Text getHighlighted()
public float getScore()
public boolean collateMatch()
trueprotected void setScore(float score)
public void readFrom(StreamInput in) throws IOException
readFrom インタフェース内 StreamableIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo インタフェース内 StreamableIOExceptionpublic XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent インタフェース内 ToXContentIOExceptionprotected XContentBuilder innerToXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
IOExceptionprotected void mergeInto(Suggest.Suggestion.Entry.Option otherOption)
Copyright © 2009–2016. All rights reserved.