public static final class Query.Regex extends java.lang.Object implements Query
k with a value that matches the
regex in v. The expression will be automatically anchored to the start to encourage
prefix matches.
Warning: regular expressions are often expensive and can add a lot of overhead. Use them sparingly.
Query.And, Query.Equal, Query.GreaterThan, Query.GreaterThanEqual, Query.Has, Query.In, Query.LessThan, Query.LessThanEqual, Query.Not, Query.Or, Query.Regex| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
boolean |
matches(java.util.Map<java.lang.String,java.lang.String> tags)
Check to see if this query matches a set of tags.
|
java.lang.String |
toString() |
public boolean matches(java.util.Map<java.lang.String,java.lang.String> tags)
Querypublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object