public static final class Query.Has extends Object implements Query.KeyQuery
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 |
|---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
String |
key()
Key checked by this query.
|
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.
|
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitsimplifypublic String key()
Query.KeyQuerykey in interface Query.KeyQuerypublic boolean matches(String value)
Query.KeyQuerymatches in interface Query.KeyQuerypublic boolean matches(Map<String,String> tags)
Querymatches in interface Querymatches in interface Query.KeyQuerytags - Tags to use when checking for a match.