Interface MultiValueAggregation

All Superinterfaces:
Aggregation, ToXContent, ToXContentFragment
All Known Implementing Classes:

public interface MultiValueAggregation extends Aggregation
  • Method Details

    • valueNames

      Iterable<String> valueNames()
      Return an iterable over all value names this multi value aggregation provides. The iterable might be created on the fly, if you need to call this multiple times, please cache the result in a variable on caller side..
      iterable over all value names
    • getValuesAsStrings

      List<String> getValuesAsStrings(String name)
      Return a list of all results with the specified name
      name - of the value
      list of all values formatted as string