Class Groupings
java.lang.Object
co.elastic.clients.elasticsearch.rollup.Groupings
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class Groupings extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Groupings.Builder
Builder forGroupings
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<Groupings>
_DESERIALIZER
Json deserializer forGroupings
-
Constructor Summary
Constructors Constructor Description Groupings(Groupings.Builder builder)
Groupings(java.util.function.Function<Groupings.Builder,Groupings.Builder> fn)
-
Method Summary
Modifier and Type Method Description DateHistogramGrouping
dateHistogram()
API name:date_histogram
HistogramGrouping
histogram()
API name:histogram
void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupGroupingsDeserializer(DelegatingDeserializer<Groupings.Builder> op)
TermsGrouping
terms()
API name:terms
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forGroupings
-
-
Constructor Details
-
Groupings
-
Groupings
-
-
Method Details
-
dateHistogram
API name:date_histogram
-
histogram
API name:histogram
-
terms
API name:terms
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupGroupingsDeserializer
-