Class RangeAggregationFieldStepImpl<PDF extends SearchPredicateFactory>
java.lang.Object
org.hibernate.search.engine.search.aggregation.dsl.impl.RangeAggregationFieldStepImpl<PDF>
- All Implemented Interfaces:
RangeAggregationFieldStep<PDF>
public class RangeAggregationFieldStepImpl<PDF extends SearchPredicateFactory>
extends Object
implements RangeAggregationFieldStep<PDF>
-
Constructor Summary
ConstructorsConstructorDescriptionRangeAggregationFieldStepImpl(SearchAggregationDslContext<?, ? extends PDF> dslContext) -
Method Summary
Modifier and TypeMethodDescription<F> RangeAggregationRangeStep<?,PDF, F> field(String fieldPath, Class<F> type, ValueModel valueModel) Target the given field in the range 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.RangeAggregationFieldStep
field, field
-
Constructor Details
-
RangeAggregationFieldStepImpl
-
-
Method Details
-
field
public <F> RangeAggregationRangeStep<?,PDF, fieldF> (String fieldPath, Class<F> type, ValueModel valueModel) Description copied from interface:RangeAggregationFieldStepTarget the given field in the range aggregation.- Specified by:
fieldin interfaceRangeAggregationFieldStep<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- valueModel The model of range values, used to determine how range values passed to the next steps and fetched from the backend should be converted. SeeValueModel.- Returns:
- The next step.
-