Class AbstractLuceneFacetsBasedTermsAggregation.AbstractExtractor
java.lang.Object
org.hibernate.search.backend.lucene.types.aggregation.impl.AbstractLuceneFacetsBasedTermsAggregation.AbstractExtractor
- All Implemented Interfaces:
LuceneSearchAggregation.Extractor<Map<K,Long>>
- Enclosing class:
- AbstractLuceneFacetsBasedTermsAggregation<F,
T, K, V>
protected abstract class AbstractLuceneFacetsBasedTermsAggregation.AbstractExtractor
extends Object
implements LuceneSearchAggregation.Extractor<Map<K,Long>>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionextract(AggregationExtractContext context) Extract the result of the aggregation from the response.
-
Constructor Details
-
AbstractExtractor
protected AbstractExtractor()
-
-
Method Details
-
extract
Description copied from interface:LuceneSearchAggregation.ExtractorExtract the result of the aggregation from the response.- Specified by:
extractin interfaceLuceneSearchAggregation.Extractor<Map<K,Long>> - Parameters:
context- The extract context, to extract information from the response's JSON body or retrieve information that was stored earlier inLuceneSearchAggregation.request(AggregationRequestContext).- Returns:
- The aggregation result extracted from the response.
- Throws:
IOException
-