Interface MultiValueAggregation
- All Superinterfaces:
Aggregation
,ToXContent
,ToXContentFragment
- All Known Implementing Classes:
InternalMultiValueAggregation
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.search.aggregations.Aggregation
Aggregation.CommonFields
Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
-
Field Summary
Fields inherited from interface org.elasticsearch.search.aggregations.Aggregation
TYPED_KEYS_DELIMITER
Fields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY_PARAMS
-
Method Summary
Modifier and TypeMethodDescriptiongetValuesAsStrings
(String name) Return a list of all results with the specified nameReturn an iterable over all value names this multi value aggregation provides.Methods inherited from interface org.elasticsearch.search.aggregations.Aggregation
getMetadata, getName, getType
Methods inherited from interface org.elasticsearch.xcontent.ToXContent
toXContent
Methods inherited from interface org.elasticsearch.xcontent.ToXContentFragment
isFragment
-
Method Details
-
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
Return a list of all results with the specified name- Parameters:
name
- of the value- Returns:
- list of all values formatted as string
-