Package zipkin2.storage
Interface AutocompleteTags
-
- All Known Implementing Classes:
InMemoryStorage
public interface AutocompleteTagsProvides autocomplete functionality by providing values for a given tag key, usually derived fromSpanConsumer.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Call<List<String>>getKeys()Retrieves the list of tag getKeys whose values may be returned bygetValues(String).Call<List<String>>getValues(String key)Retrieves the list of values, if the input is configured for autocompletion.
-
-
-
Method Detail
-
getKeys
Call<List<String>> getKeys()
Retrieves the list of tag getKeys whose values may be returned bygetValues(String).
-
getValues
Call<List<String>> getValues(String key)
Retrieves the list of values, if the input is configured for autocompletion. If a key is not configured, or there are no values available, an empty result will be returned.- Throws:
IllegalArgumentException- if the input is empty.- See Also:
StorageComponent.Builder.autocompleteKeys(List)
-
-