public class LimitPredicate<T> extends IntPredicate<T> implements Matchable<T>
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, toString
copy, getOperator, getValue
and, and, any, asMatchable, estimateCost, getChild, getChildCount, getChildren, isMatchable, not, or, or
public LimitPredicate(java.lang.String fieldName, int limit) throws QueryParseException
QueryParseException