public class LimitPredicate<T> extends IntPredicate<T> implements Matchable<T>
| Constructor and Description |
|---|
LimitPredicate(String fieldName,
int limit) |
| Modifier and Type | Method and Description |
|---|---|
int |
getCost() |
static Integer |
getLimit(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, isMatchable, not, or, orpublic LimitPredicate(String fieldName, int limit) throws QueryParseException
QueryParseException