public abstract class QueryModelQueryPredicate<T> extends Base
| Modifier | Constructor and Description |
|---|---|
protected |
QueryModelQueryPredicate(QueryModel<T> queryModel) |
| Modifier and Type | Method and Description |
|---|---|
QueryPredicate<T> |
and(QueryPredicate<T> other) |
protected String |
buildQuery(QueryModel<T> model,
String definition) |
boolean |
equals(Object o) |
protected QueryModel<T> |
getQueryModel() |
int |
hashCode() |
QueryPredicate<T> |
negate() |
QueryPredicate<T> |
or(QueryPredicate<T> other) |
protected abstract String |
render() |
String |
toSphereQuery()
The predicate for the HTTP API, not url encoded.
|
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitofprotected QueryModelQueryPredicate(QueryModel<T> queryModel)
public final String toSphereQuery()
QueryPredicateprotected abstract String render()
protected QueryModel<T> getQueryModel()
public final QueryPredicate<T> or(QueryPredicate<T> other)
or in interface QueryPredicate<T>public final QueryPredicate<T> and(QueryPredicate<T> other)
and in interface QueryPredicate<T>public QueryPredicate<T> negate()
negate in interface QueryPredicate<T>protected String buildQuery(QueryModel<T> model, String definition)