Interface MultiValueAggregation

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

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..
      Returns:
      iterable over all value names
    • getValuesAsStrings

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