Class CompositeAggregationSource
- java.lang.Object
-
- org.opensearch.client.opensearch._types.aggregations.CompositeAggregationSource
-
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class CompositeAggregationSource extends java.lang.Object implements JsonpSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCompositeAggregationSource.BuilderBuilder forCompositeAggregationSource.
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<CompositeAggregationSource>_DESERIALIZERJson deserializer forCompositeAggregationSource
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DateHistogramAggregationdateHistogram()API name:date_histogramGeoTileGridAggregationgeotileGrid()API name:geotile_gridHistogramAggregationhistogram()API name:histogramstatic CompositeAggregationSourceof(java.util.function.Function<CompositeAggregationSource.Builder,ObjectBuilder<CompositeAggregationSource>> fn)voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupCompositeAggregationSourceDeserializer(ObjectDeserializer<CompositeAggregationSource.Builder> op)TermsAggregationterms()API name:terms
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<CompositeAggregationSource> _DESERIALIZER
Json deserializer forCompositeAggregationSource
-
-
Method Detail
-
of
public static CompositeAggregationSource of(java.util.function.Function<CompositeAggregationSource.Builder,ObjectBuilder<CompositeAggregationSource>> fn)
-
terms
@Nullable public final TermsAggregation terms()
API name:terms
-
histogram
@Nullable public final HistogramAggregation histogram()
API name:histogram
-
dateHistogram
@Nullable public final DateHistogramAggregation dateHistogram()
API name:date_histogram
-
geotileGrid
@Nullable public final GeoTileGridAggregation geotileGrid()
API name:geotile_grid
-
serialize
public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
-
setupCompositeAggregationSourceDeserializer
protected static void setupCompositeAggregationSourceDeserializer(ObjectDeserializer<CompositeAggregationSource.Builder> op)
-
-