Interface SearchHitsIterator<T>
- Type Parameters:
T
-
- All Superinterfaces:
AutoCloseable
,Closeable
,CloseableIterator<SearchHit<T>>
,Iterator<SearchHit<T>>
- Since:
- 4.0
- Author:
- Sascha Woo
-
Method Summary
Modifier and TypeMethodDescriptionfloat
long
default boolean
Methods inherited from interface org.springframework.data.util.CloseableIterator
close, spliterator, stream
Methods inherited from interface java.util.Iterator
forEachRemaining, hasNext, next, remove
-
Method Details
-
getAggregations
- Returns:
- the aggregations.
-
getMaxScore
float getMaxScore()- Returns:
- the maximum score
-
getTotalHits
long getTotalHits()- Returns:
- the number of total hits.
-
getTotalHitsRelation
TotalHitsRelation getTotalHitsRelation()- Returns:
- the relation for the total hits
-
hasAggregations
default boolean hasAggregations()- Returns:
- true if aggregations are available
-