java.lang.Object
org.elasticsearch.common.path.PathTrie<T>
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidinsertOrUpdate(String path, T value, BiFunction<T, T, T> updater) Insert a value for the given path.retrieve(String path, Map<String, String> params, org.elasticsearch.common.path.PathTrie.TrieMatchingMode trieMatchingMode) Returns an iterator of the objects stored in thePathTrie, using all possibleTrieMatchingModemodes.
-
Constructor Details
-
PathTrie
-
-
Method Details
-
insert
-
insertOrUpdate
Insert a value for the given path. If the path already exists, replace the value with:value = updater.apply(oldValue, newValue);
allowing the value to be updated if desired. -
retrieve
-
retrieve
-
retrieve
-
retrieveAll
Returns an iterator of the objects stored in thePathTrie, using all possibleTrieMatchingModemodes. TheparamSupplieris called between each invocation ofnext()to supply a new map of parameters.
-