Class ScriptedMetricAggregation
java.lang.Object
co.elastic.clients.elasticsearch._types.aggregations.MetricAggregationBase
co.elastic.clients.elasticsearch._types.aggregations.ScriptedMetricAggregation
- All Implemented Interfaces:
AggregationVariant,JsonpSerializable
@JsonpDeserializable
public class ScriptedMetricAggregation
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<ScriptedMetricAggregation>Json deserializer forScriptedMetricAggregation -
Method Summary
Modifier and TypeMethodDescriptionAggregation variant kind.final ScriptAPI name:combine_scriptfinal ScriptAPI name:init_scriptfinal ScriptAPI name:map_scriptstatic ScriptedMetricAggregationparams()API name:paramsfinal ScriptAPI name:reduce_scriptprotected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidsetupScriptedMetricAggregationDeserializer(ObjectDeserializer<ScriptedMetricAggregation.Builder> op) Methods 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 forScriptedMetricAggregation
-
-
Method Details
-
of
public static ScriptedMetricAggregation of(Function<ScriptedMetricAggregation.Builder, ObjectBuilder<ScriptedMetricAggregation>> fn) -
_aggregationKind
Aggregation variant kind.- Specified by:
_aggregationKindin interfaceAggregationVariant
-
combineScript
API name:combine_script -
initScript
API name:init_script -
mapScript
API name:map_script -
params
API name:params -
reduceScript
API name:reduce_script -
serializeInternal
- Overrides:
serializeInternalin classMetricAggregationBase
-
setupScriptedMetricAggregationDeserializer
protected static void setupScriptedMetricAggregationDeserializer(ObjectDeserializer<ScriptedMetricAggregation.Builder> op)
-