public class ReactiveSearchHitsImpl<T> extends Object implements ReactiveSearchHits<T>
| Modifier and Type | Field and Description |
|---|---|
protected SearchHits<T> |
delegate |
| Constructor and Description |
|---|
ReactiveSearchHitsImpl(SearchHits<T> delegate) |
| Modifier and Type | Method and Description |
|---|---|
AggregationsContainer<?> |
getAggregations() |
float |
getMaxScore() |
reactor.core.publisher.Flux<SearchHit<T>> |
getSearchHits() |
Suggest |
getSuggest() |
long |
getTotalHits() |
TotalHitsRelation |
getTotalHitsRelation() |
boolean |
hasAggregations() |
boolean |
hasSearchHits() |
boolean |
hasSuggest() |
protected final SearchHits<T> delegate
public ReactiveSearchHitsImpl(SearchHits<T> delegate)
public long getTotalHits()
getTotalHits in interface ReactiveSearchHits<T>public TotalHitsRelation getTotalHitsRelation()
getTotalHitsRelation in interface ReactiveSearchHits<T>public boolean hasAggregations()
hasAggregations in interface ReactiveSearchHits<T>@Nullable public AggregationsContainer<?> getAggregations()
getAggregations in interface ReactiveSearchHits<T>public float getMaxScore()
getMaxScore in interface ReactiveSearchHits<T>public boolean hasSearchHits()
hasSearchHits in interface ReactiveSearchHits<T>SearchHits has search hits.public reactor.core.publisher.Flux<SearchHit<T>> getSearchHits()
getSearchHits in interface ReactiveSearchHits<T>SearchHits from the search result.@Nullable public Suggest getSuggest()
getSuggest in interface ReactiveSearchHits<T>public boolean hasSuggest()
hasSuggest in interface ReactiveSearchHits<T>SearchHits has a suggest response.Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.