Class Pivot
java.lang.Object
co.elastic.clients.elasticsearch.transform.Pivot
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<Pivot>
Json deserializer forPivot
-
Method Summary
Modifier and TypeMethodDescriptionfinal Map<String,
Aggregation> Defines how to aggregate the grouped data.final Map<String,
PivotGroupBy> groupBy()
Defines how to group the data.static Pivot
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
toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forPivot
-
-
Method Details
-
of
-
aggregations
Defines how to aggregate the grouped data. The following aggregations are currently supported: average, bucket script, bucket selector, cardinality, filter, geo bounds, geo centroid, geo line, max, median absolute deviation, min, missing, percentiles, rare terms, scripted metric, stats, sum, terms, top metrics, value count, weighted average.API name:
aggregations
-
groupBy
Defines how to group the data. More than one grouping can be defined per pivot. The following groupings are currently supported: date histogram, geotile grid, histogram, terms.API name:
group_by
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupPivotDeserializer
-