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, getTypecopy, equals, getOperator, getValue, hashCode, toStringand, and, any, asMatchable, estimateCost, getChild, getChildCount, getChildren, getLeafCount, isMatchable, not, or, orprotected IntegerRangePredicate(FieldDef<T,java.lang.Integer> type, java.lang.String value) throws QueryParseException
QueryParseExceptionprotected abstract java.lang.Integer getValueInt(T object) throws com.google.gwtorm.server.OrmException
com.google.gwtorm.server.OrmExceptionpublic boolean match(T object) throws com.google.gwtorm.server.OrmException
com.google.gwtorm.server.OrmExceptionpublic int getMinimumValue()
public int getMaximumValue()