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.
  • Method Details

    • aggregation

      Object aggregation()
      The result of the aggregation. The type of the object depends on the aggregation that was run.