Module org.elasticsearch.xcore
Class ExpandedIdsMatcher.SimpleIdsMatcher
java.lang.Object
org.elasticsearch.xpack.core.action.util.ExpandedIdsMatcher.SimpleIdsMatcher
- Enclosing class:
ExpandedIdsMatcher
A simple matcher with one purpose to test whether an id
matches a expression that may contain wildcards.
Use the
idMatches(String) function to
test if the given id is matched by any of the matchers.
Unlike ExpandedIdsMatcher there is no
allowNoMatchForWildcards logic and the matchers
are not be removed once they have been matched.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SimpleIdsMatcher
-
SimpleIdsMatcher
-
-
Method Details
-
idMatches
Do any of the matchers matchid?- Parameters:
id- Id to test- Returns:
- True if the given id is matched by any of the matchers
-