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, toString
copy, getOperator, getValue
and, and, any, asMatchable, estimateCost, getChild, getChildCount, getChildren, isMatchable, not, or, or
public LimitPredicate(String fieldName, int limit) throws QueryParseException
QueryParseException