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
Constructors Constructor Description RangeAggregationFieldStepImpl(SearchAggregationDslContext<?,? extends PDF> dslContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <F> RangeAggregationRangeStep<?,PDF,F>field(String fieldPath, Class<F> type, ValueConvert convert)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, wait
-
Methods inherited from interface org.hibernate.search.engine.search.aggregation.dsl.RangeAggregationFieldStep
field
-
-
-
-
Constructor Detail
-
RangeAggregationFieldStepImpl
public RangeAggregationFieldStepImpl(SearchAggregationDslContext<?,? extends PDF> dslContext)
-
-
Method Detail
-
field
public <F> RangeAggregationRangeStep<?,PDF,F> field(String fieldPath, Class<F> type, ValueConvert convert)
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.convert- Controls how the ranges passed to the next steps and fetched from the backend should be converted. SeeValueConvert.- Returns:
- The next step.
-
-