Module org.elasticsearch.compute
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.
Looks up metric field metadata on demand.
Allows the operator to query mapping information without depending on index mapper classes.
-
Method Summary
Modifier and TypeMethodDescriptionLooks up metric field info for a given index and field name.
-
Method Details
-
lookup
Looks up metric field info for a given index and field name.- Parameters:
indexName- the index namefieldName- the field name (metric name)- Returns:
MetricFieldInfoif the field is a metric,nullotherwise
-