Class TermsAggregationFieldStepImpl<PDF extends SearchPredicateFactory>
java.lang.Object
org.hibernate.search.engine.search.aggregation.dsl.impl.TermsAggregationFieldStepImpl<PDF>
- All Implemented Interfaces:
TermsAggregationFieldStep<PDF>
public class TermsAggregationFieldStepImpl<PDF extends SearchPredicateFactory>
extends Object
implements TermsAggregationFieldStep<PDF>
-
Constructor Summary
ConstructorsConstructorDescriptionTermsAggregationFieldStepImpl(SearchAggregationDslContext<?, ? extends PDF> dslContext) -
Method Summary
Modifier and TypeMethodDescription<F> TermsAggregationOptionsStep<?,PDF, F, Map<F, Long>> field(String fieldPath, Class<F> type, ValueModel valueModel) Target the given field in the terms aggregation.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.search.engine.search.aggregation.dsl.TermsAggregationFieldStep
field, field
-
Constructor Details
-
TermsAggregationFieldStepImpl
-
-
Method Details
-
field
public <F> TermsAggregationOptionsStep<?,PDF, fieldF, Map<F, Long>> (String fieldPath, Class<F> type, ValueModel valueModel) Description copied from interface:TermsAggregationFieldStepTarget the given field in the terms aggregation.- Specified by:
fieldin interfaceTermsAggregationFieldStep<PDF extends SearchPredicateFactory>- Type Parameters:
F- The type of field values.- Parameters:
fieldPath- The path to the index field to aggregate.type- The type of field values.valueModel- The model of terms values, used to determine how term values fetched from the backend should be converted. SeeValueModel.- Returns:
- The next step.
-