Class CompletionSuggestion.Entry
- java.lang.Object
-
- org.elasticsearch.search.suggest.Suggest.Suggestion.Entry<CompletionSuggestion.Entry.Option>
-
- org.elasticsearch.search.suggest.completion.CompletionSuggestion.Entry
-
- All Implemented Interfaces:
java.lang.Iterable<CompletionSuggestion.Entry.Option>
,Streamable
,ToXContent
,ToXContentObject
- Enclosing class:
- CompletionSuggestion
public static final class CompletionSuggestion.Entry extends Suggest.Suggestion.Entry<CompletionSuggestion.Entry.Option>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CompletionSuggestion.Entry.Option
-
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
-
-
Field Summary
-
Fields inherited from class org.elasticsearch.search.suggest.Suggest.Suggestion.Entry
length, offset, options, OPTIONS, text
-
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CompletionSuggestion.Entry
fromXContent(XContentParser parser)
protected CompletionSuggestion.Entry.Option
newOption()
-
Methods inherited from class org.elasticsearch.search.suggest.Suggest.Suggestion.Entry
addOption, addOptions, declareCommonFields, equals, getLength, getOffset, getOptions, getText, hashCode, iterator, merge, readFrom, reduce, sort, toXContent, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.elasticsearch.common.xcontent.ToXContentObject
isFragment
-
-
-
-
Constructor Detail
-
Entry
public Entry(Text text, int offset, int length)
-
-
Method Detail
-
newOption
protected CompletionSuggestion.Entry.Option newOption()
- Overrides:
newOption
in classSuggest.Suggestion.Entry<CompletionSuggestion.Entry.Option>
-
fromXContent
public static CompletionSuggestion.Entry fromXContent(XContentParser parser)
-
-