Class TopHitsAggregation
java.lang.Object
co.elastic.clients.elasticsearch._types.aggregations.MetricAggregationBase
co.elastic.clients.elasticsearch._types.aggregations.TopHitsAggregation
- All Implemented Interfaces:
AggregationVariant,JsonpSerializable
@JsonpDeserializable
public class TopHitsAggregation
extends MetricAggregationBase
implements AggregationVariant
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.aggregations.MetricAggregationBase
MetricAggregationBase.AbstractBuilder<BuilderT extends MetricAggregationBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<TopHitsAggregation>Json deserializer forTopHitsAggregation -
Method Summary
Modifier and TypeMethodDescriptionAggregation variant kind.API name:docvalue_fieldsfinal Booleanexplain()API name:explainfinal Integerfrom()API name:fromfinal HighlightAPI name:highlightstatic TopHitsAggregationfinal Map<String,ScriptField> API name:script_fieldsfinal BooleanAPI name:seq_no_primary_termprotected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal Integersize()API name:sizefinal List<SortOptions>sort()API name:sortfinal SourceConfigsource()API name:_sourceAPI name:stored_fieldsfinal BooleanAPI name:track_scoresfinal Booleanversion()API name:versionMethods inherited from class co.elastic.clients.elasticsearch._types.aggregations.MetricAggregationBase
field, missing, script, serialize, setupMetricAggregationBaseDeserializer, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface co.elastic.clients.elasticsearch._types.aggregations.AggregationVariant
_toAggregation
-
Field Details
-
_DESERIALIZER
Json deserializer forTopHitsAggregation
-
-
Method Details
-
of
public static TopHitsAggregation of(Function<TopHitsAggregation.Builder, ObjectBuilder<TopHitsAggregation>> fn) -
_aggregationKind
Aggregation variant kind.- Specified by:
_aggregationKindin interfaceAggregationVariant
-
docvalueFields
API name:docvalue_fields -
explain
API name:explain -
from
API name:from -
highlight
API name:highlight -
scriptFields
API name:script_fields -
size
API name:size -
sort
API name:sort -
source
API name:_source -
storedFields
API name:stored_fields -
trackScores
API name:track_scores -
version
API name:version -
seqNoPrimaryTerm
API name:seq_no_primary_term -
serializeInternal
- Overrides:
serializeInternalin classMetricAggregationBase
-
setupTopHitsAggregationDeserializer
protected static void setupTopHitsAggregationDeserializer(ObjectDeserializer<TopHitsAggregation.Builder> op)
-