|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.ehcache.search.expression.BaseCriteria net.sf.ehcache.search.expression.ComparableValue net.sf.ehcache.search.expression.Between
public class Between
Range criteria
Constructor Summary | |
---|---|
Between(String attributeName,
Object min,
Object max,
boolean minInclusive,
boolean maxInclusive)
Constructor |
Method Summary | |
---|---|
protected boolean |
executeComparable(Comparable attributeValue)
Execute this criteria for the given Comparable attribute value |
protected boolean |
executeComparableString(Comparable attributeValue)
Execute this criteria for the given Comparable strin type attribute value |
Comparable |
getMax()
Get the maximum value |
Comparable |
getMin()
Get the minimum value |
boolean |
isMaxInclusive()
|
boolean |
isMinInclusive()
|
Methods inherited from class net.sf.ehcache.search.expression.ComparableValue |
---|
execute, getAttributeName, getAttributes, getType, luceneStringCompare |
Methods inherited from class net.sf.ehcache.search.expression.BaseCriteria |
---|
and, getExtractor, not, or |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Between(String attributeName, Object min, Object max, boolean minInclusive, boolean maxInclusive)
attributeName
- attribute namemin
- minimum value of rangemax
- maximum value of rangeminInclusive
- is minimum inclusive?maxInclusive
- is maximum inclusive?Method Detail |
---|
public Comparable getMin()
public Comparable getMax()
public boolean isMinInclusive()
public boolean isMaxInclusive()
protected boolean executeComparable(Comparable attributeValue)
Comparable
attribute value
executeComparable
in class ComparableValue
attributeValue
- Comparable attribute value
protected boolean executeComparableString(Comparable attributeValue)
Comparable
strin type attribute value
executeComparableString
in class ComparableValue
attributeValue
- Comparable attribute value
|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |