public abstract class IntegerRangePredicate<T> extends IndexPredicate<T>
name, value
Modifier | Constructor and Description |
---|---|
protected |
IntegerRangePredicate(FieldDef<T,java.lang.Integer> type,
java.lang.String value) |
Modifier and Type | Method and Description |
---|---|
int |
getMaximumValue()
Return the maximum value of this predicate's range, inclusive.
|
int |
getMinimumValue()
Return the minimum value of this predicate's range, inclusive.
|
protected abstract java.lang.Integer |
getValueInt(T object) |
boolean |
match(T object) |
getField, getType
copy, equals, getOperator, getValue, hashCode, toString
and, and, any, asMatchable, estimateCost, getChild, getChildCount, getChildren, getLeafCount, isMatchable, not, or, or
protected IntegerRangePredicate(FieldDef<T,java.lang.Integer> type, java.lang.String value) throws QueryParseException
QueryParseException
protected abstract java.lang.Integer getValueInt(T object) throws com.google.gwtorm.server.OrmException
com.google.gwtorm.server.OrmException
public boolean match(T object) throws com.google.gwtorm.server.OrmException
com.google.gwtorm.server.OrmException
public int getMinimumValue()
public int getMaximumValue()