public static interface Query.KeyQuery extends Query
Query.And, Query.CompositeKeyQuery, Query.Equal, Query.GreaterThan, Query.GreaterThanEqual, Query.Has, Query.In, Query.InvertedKeyQuery, Query.KeyQuery, Query.LessThan, Query.LessThanEqual, Query.Not, Query.Or, Query.Regex
Modifier and Type | Method and Description |
---|---|
String |
key()
Key checked by this query.
|
default boolean |
matches(Map<String,String> tags)
Check to see if this query matches a set of tags.
|
boolean |
matches(String value)
Returns true if the value matches for this query clause.
|
default Query |
simplify(Map<String,String> tags)
Return a new query that has been simplified by pre-evaluating the conditions for a set
of tags that are common to all metrics.
|
String key()
boolean matches(String value)
default boolean matches(Map<String,String> tags)
Query