java.lang.Object
org.elasticsearch.common.path.PathTrie<T>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
insertOrUpdate
(String path, T value, BinaryOperator<T> updater) Insert a value for the given path.Returns a stream of the objects stored in thePathTrie
, using all possibleTrieMatchingMode
modes.
-
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
-
retrieveAll
Returns a stream of the objects stored in thePathTrie
, using all possibleTrieMatchingMode
modes. TheparamSupplier
is called for each mode to supply a new map of parameters. -
allNodeValues
-