Package zipkin2.storage
Interface AutocompleteTags
-
- All Known Implementing Classes:
InMemoryStorage
public interface AutocompleteTags
Provides 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<java.util.List<java.lang.String>>
getKeys()
Retrieves the list of tag getKeys whose values may be returned bygetValues(String)
.Call<java.util.List<java.lang.String>>
getValues(java.lang.String key)
Retrieves the list of values, if the input is configured for autocompletion.
-
-
-
Method Detail
-
getKeys
Call<java.util.List<java.lang.String>> getKeys()
Retrieves the list of tag getKeys whose values may be returned bygetValues(String)
.
-
getValues
Call<java.util.List<java.lang.String>> getValues(java.lang.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:
java.lang.IllegalArgumentException
- if the input is empty.- See Also:
StorageComponent.Builder.autocompleteKeys(List)
-
-