Interface MetricsInfoOperator.MetricFieldLookup

Enclosing class:
MetricsInfoOperator
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface MetricsInfoOperator.MetricFieldLookup
Looks up metric field metadata on demand. Allows the operator to query mapping information without depending on index mapper classes.
  • Method Summary

    Modifier and Type
    Method
    Description
    lookup(String indexName, String fieldName)
    Looks up metric field info for a given index and field name.
  • Method Details

    • lookup

      MetricFieldInfo lookup(String indexName, String fieldName)
      Looks up metric field info for a given index and field name.
      Parameters:
      indexName - the index name
      fieldName - the field name (metric name)
      Returns:
      MetricFieldInfo if the field is a metric, null otherwise