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) |
Modifier and Type | Method and Description |
---|---|
org.elasticsearch.search.aggregations.Aggregation |
getAggregation(String name) |
org.elasticsearch.search.aggregations.Aggregations |
getAggregations() |
protected <S> List<S> |
getConvertedContent(Converter<? super T,? extends S> arg0) |
boolean |
hasAggregations() |
getFacet, getFacets, hasFacets
equals, getTotalElements, getTotalPages, hashCode, hasNext, isLast, map, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getFacet, getFacets, hasFacets
getTotalElements, getTotalPages, map
getContent, getNumber, getNumberOfElements, getSize, getSort, hasContent, hasNext, hasPrevious, isFirst, isLast, nextPageable, previousPageable
forEach, iterator, spliterator
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>
Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.