Interface ScriptedMetric
- All Superinterfaces:
Aggregation,ToXContent,ToXContentFragment
- All Known Implementing Classes:
InternalScriptedMetric,ParsedScriptedMetric
public interface ScriptedMetric extends Aggregation
A metric aggregation that computes both its final and intermediate states using scripts.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.search.aggregations.Aggregation
Aggregation.CommonFieldsNested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params -
Field Summary
Fields inherited from interface org.elasticsearch.search.aggregations.Aggregation
TYPED_KEYS_DELIMITER -
Method Summary
Modifier and Type Method Description java.lang.Objectaggregation()The result of the aggregation.Methods inherited from interface org.elasticsearch.search.aggregations.Aggregation
getMetaData, getName, getType
-
Method Details
-
aggregation
java.lang.Object aggregation()The result of the aggregation. The type of the object depends on the aggregation that was run.
-