public class AggregatedPageImpl<T> extends FacetedPageImpl<T> implements AggregatedPage<T>
| Constructor and Description |
|---|
AggregatedPageImpl(List<T> content) |
AggregatedPageImpl(List<T> content,
org.springframework.data.domain.Pageable pageable,
long total) |
AggregatedPageImpl(List<T> content,
org.springframework.data.domain.Pageable pageable,
long total,
io.searchbox.core.search.aggregation.MetricAggregation aggregations,
List<org.springframework.data.elasticsearch.core.facet.FacetResult> facets) |
| Modifier and Type | Method and Description |
|---|---|
<A extends io.searchbox.core.search.aggregation.Aggregation> |
getAggregation(String aggName,
Class<A> aggType) |
List<? extends io.searchbox.core.search.aggregation.Aggregation> |
getAggregations(Map<String,Class> nameToTypeMap) |
protected <S> List<S> |
getConvertedContent(org.springframework.core.convert.converter.Converter<? super T,? extends S> arg0) |
boolean |
hasAggregations() |
getFacet, getFacets, hasFacetsequals, getTotalElements, getTotalPages, hashCode, hasNext, isLast, map, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetFacet, getFacets, hasFacetsgetTotalElements, getTotalPages, mapgetContent, getNumber, getNumberOfElements, getSize, getSort, hasContent, hasNext, hasPrevious, isFirst, isLast, nextPageable, previousPageableforEach, iterator, spliteratorpublic AggregatedPageImpl(List<T> content, org.springframework.data.domain.Pageable pageable, long total)
public boolean hasAggregations()
hasAggregations in interface AggregatedPage<T>public List<? extends io.searchbox.core.search.aggregation.Aggregation> getAggregations(Map<String,Class> nameToTypeMap)
getAggregations in interface AggregatedPage<T>public <A extends io.searchbox.core.search.aggregation.Aggregation> A getAggregation(String aggName, Class<A> aggType)
getAggregation in interface AggregatedPage<T>protected <S> List<S> getConvertedContent(org.springframework.core.convert.converter.Converter<? super T,? extends S> arg0)
Copyright © 2017. All Rights Reserved.