Class SingleBucketAggregateBase
java.lang.Object
co.elastic.clients.elasticsearch._types.aggregations.AggregateBase
co.elastic.clients.elasticsearch._types.aggregations.SingleBucketAggregateBase
- All Implemented Interfaces:
JsonpSerializable
- Direct Known Subclasses:
ChildrenAggregate
,FilterAggregate
,GlobalAggregate
,MissingAggregate
,NestedAggregate
,ParentAggregate
,ReverseNestedAggregate
,SamplerAggregate
,UnmappedSamplerAggregate
Base type for single-bucket aggregation results that can hold
sub-aggregations results.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
SingleBucketAggregateBase.AbstractBuilder<BuilderT extends SingleBucketAggregateBase.AbstractBuilder<BuilderT>>
-
Constructor Summary
ModifierConstructorDescriptionprotected
-
Method Summary
Modifier and TypeMethodDescriptionNested aggregationsfinal long
docCount()
Required - API name:doc_count
protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static <BuilderT extends SingleBucketAggregateBase.AbstractBuilder<BuilderT>>
voidsetupSingleBucketAggregateBaseDeserializer
(ObjectDeserializer<BuilderT> op) Methods inherited from class co.elastic.clients.elasticsearch._types.aggregations.AggregateBase
meta, serialize, setupAggregateBaseDeserializer, toString
-
Constructor Details
-
SingleBucketAggregateBase
-
-
Method Details
-
aggregations
Nested aggregations -
docCount
public final long docCount()Required - API name:doc_count
-
serializeInternal
- Overrides:
serializeInternal
in classAggregateBase
-
setupSingleBucketAggregateBaseDeserializer
protected static <BuilderT extends SingleBucketAggregateBase.AbstractBuilder<BuilderT>> void setupSingleBucketAggregateBaseDeserializer(ObjectDeserializer<BuilderT> op)
-