public final class QueryHelper extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
EXISTS_VALUE
The special value testing that the field exists.
|
| Modifier | Constructor and Description |
|---|---|
private |
QueryHelper() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getStandardQuery(String fieldName,
Query.Operator operator,
Object value)
Get a standard query on a value, with all possible standard operators.
|
public static final String EXISTS_VALUE
private QueryHelper()
public static final String getStandardQuery(String fieldName, Query.Operator operator, Object value)
fieldName - The field name.operator - The operator.value - The value, can be null if the operator is EXISTS.