public class RegexCriterion extends AbstractCriterion
| Constructor and Description |
|---|
RegexCriterion(java.util.regex.Pattern pattern) |
RegexCriterion(java.lang.String regex) |
RegexCriterion(java.lang.String regex,
int flags) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
toQueryObject(ObjectMapper mapper)
Returns the query representation of the
Criterion. |
public RegexCriterion(java.util.regex.Pattern pattern)
public RegexCriterion(java.lang.String regex,
int flags)
public RegexCriterion(java.lang.String regex)
public java.lang.Object toQueryObject(ObjectMapper mapper)
AbstractCriterionCriterion.
Most of the time this will be a DBObject, but
it can be anything accepted by the MongoDB java driver.toQueryObject in interface CriteriontoQueryObject in class AbstractCriterionmapper - the ObjectMapperObjectCopyright © 2013. All Rights Reserved.