Interface CountDistinctAggregationFieldStep<SR,PDF extends TypedSearchPredicateFactory<SR>>
- Type Parameters:
SR
- Scope root type.PDF
- The type of factory used to create predicates inAggregationFilterStep.filter(Function)
.
@Incubating
public interface CountDistinctAggregationFieldStep<SR,PDF extends TypedSearchPredicateFactory<SR>>
The initial step in a "count distinct" aggregation definition, where the target field can be set.
-
Method Summary
Modifier and TypeMethodDescriptionTarget the given field in the count distinct aggregation.default CountDistinctAggregationOptionsStep
<SR, ?, PDF> field
(CountAggregationFieldReference<SR> fieldReference) Target the given field in the avg aggregation.
-
Method Details
-
field
Target the given field in the count distinct aggregation.- Parameters:
fieldPath
- The path to the index field to aggregate.- Returns:
- The next step.
-
field
@Incubating default CountDistinctAggregationOptionsStep<SR,?, fieldPDF> (CountAggregationFieldReference<SR> fieldReference) Target the given field in the avg aggregation.- Parameters:
fieldReference
- The field reference representing a definition of the index field to aggregate.- Returns:
- The next step.
-