public class AggregatedPageImpl<T> extends FacetedPageImpl<T> implements AggregatedPage<T>
Constructor and Description |
---|
AggregatedPageImpl(List<T> content) |
AggregatedPageImpl(List<T> content,
Pageable pageable,
long total) |
AggregatedPageImpl(List<T> content,
Pageable pageable,
long total,
org.elasticsearch.search.aggregations.Aggregations aggregations) |
AggregatedPageImpl(List<T> content,
Pageable pageable,
long total,
org.elasticsearch.search.aggregations.Aggregations aggregations,
String scrollId) |
AggregatedPageImpl(List<T> content,
Pageable pageable,
long total,
String scrollId) |
AggregatedPageImpl(List<T> content,
String scrollId) |
Modifier and Type | Method and Description |
---|---|
org.elasticsearch.search.aggregations.Aggregation |
getAggregation(String name) |
org.elasticsearch.search.aggregations.Aggregations |
getAggregations() |
protected <U> List<U> |
getConvertedContent(Function<? super T,? extends U> arg0) |
String |
getScrollId() |
boolean |
hasAggregations() |
getFacet, getFacets, hasFacets
equals, getTotalElements, getTotalPages, hashCode, hasNext, isLast, map, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getFacet, getFacets, hasFacets
empty, empty, getTotalElements, getTotalPages, map
getContent, getNumber, getNumberOfElements, getPageable, getSize, getSort, hasContent, hasNext, hasPrevious, isFirst, isLast, nextPageable, previousPageable
filter, flatMap, of, of, of, stream
forEach, iterator, spliterator
public AggregatedPageImpl(List<T> content, Pageable pageable, long total, String scrollId)
public AggregatedPageImpl(List<T> content, Pageable pageable, long total, org.elasticsearch.search.aggregations.Aggregations aggregations)
public boolean hasAggregations()
hasAggregations
in interface AggregatedPage<T>
public org.elasticsearch.search.aggregations.Aggregations getAggregations()
getAggregations
in interface AggregatedPage<T>
public org.elasticsearch.search.aggregations.Aggregation getAggregation(String name)
getAggregation
in interface AggregatedPage<T>
public String getScrollId()
getScrollId
in interface ScrolledPage<T>
Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.