Class LuceneNumericRangeAggregation<F,E extends Number,K>
java.lang.Object
org.hibernate.search.backend.lucene.types.aggregation.impl.AbstractLuceneNestableAggregation<Map<K,V>>
org.hibernate.search.backend.lucene.types.aggregation.impl.AbstractLuceneBucketAggregation<Range<K>,Long>
org.hibernate.search.backend.lucene.types.aggregation.impl.LuceneNumericRangeAggregation<F,E,K>
- Type Parameters:
F- The type of field values.E- The type of encoded field values.K- The type of keys in the returned map. It can beFor a different type if value converters are used.
- All Implemented Interfaces:
LuceneSearchAggregation<Map<Range<K>,,Long>> SearchAggregation<Map<Range<K>,Long>>
public class LuceneNumericRangeAggregation<F,E extends Number,K>
extends AbstractLuceneBucketAggregation<Range<K>,Long>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classLuceneNumericRangeAggregation.Builder<F,E extends Number, K> static classstatic classNested classes/interfaces inherited from class org.hibernate.search.backend.lucene.types.aggregation.impl.AbstractLuceneBucketAggregation
AbstractLuceneBucketAggregation.AbstractBuilder<K,V> Nested classes/interfaces inherited from interface org.hibernate.search.backend.lucene.search.aggregation.impl.LuceneSearchAggregation
LuceneSearchAggregation.Extractor<T> -
Field Summary
Fields inherited from class org.hibernate.search.backend.lucene.types.aggregation.impl.AbstractLuceneBucketAggregation
absoluteFieldPathFields inherited from interface org.hibernate.search.backend.lucene.search.aggregation.impl.LuceneSearchAggregation
log -
Method Summary
Modifier and TypeMethodDescriptionrequest(AggregationRequestContext context) Request the collection of per-document data that will be used inLuceneSearchAggregation.Extractor.extract(AggregationExtractContext), making sure that the requirements for this projection are met.Methods inherited from class org.hibernate.search.backend.lucene.types.aggregation.impl.AbstractLuceneBucketAggregation
indexNamesMethods inherited from class org.hibernate.search.backend.lucene.types.aggregation.impl.AbstractLuceneNestableAggregation
createNestedDocsProvider
-
Method Details
-
request
public LuceneSearchAggregation.Extractor<Map<Range<K>,Long>> request(AggregationRequestContext context) Description copied from interface:LuceneSearchAggregationRequest the collection of per-document data that will be used inLuceneSearchAggregation.Extractor.extract(AggregationExtractContext), making sure that the requirements for this projection are met.- Parameters:
context- A context that will share its state with the context passed toLuceneSearchAggregation.Extractor.extract(AggregationExtractContext).
-