public class LimitPredicate<T> extends IntPredicate<T> implements Matchable<T>
name, value| Constructor and Description |
|---|
LimitPredicate(java.lang.String fieldName,
int limit) |
| Modifier and Type | Method and Description |
|---|---|
int |
getCost() |
static java.lang.Integer |
getLimit(java.lang.String fieldName,
Predicate<?> p) |
boolean |
match(T object)
Does this predicate match this object?
|
equals, hashCode, intValue, toStringcopy, getOperator, getValueand, and, any, asMatchable, estimateCost, getChild, getChildCount, getChildren, getLeafCount, isMatchable, not, or, orpublic LimitPredicate(java.lang.String fieldName,
int limit)
throws QueryParseException
QueryParseException