public class Between extends ComparableValue
Constructor and Description |
---|
Between(String attributeName,
Object min,
Object max,
boolean minInclusive,
boolean maxInclusive)
Constructor
|
Modifier and Type | Method and Description |
---|---|
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() |
execute, getAttributeName, getAttributes, getType, luceneStringCompare
and, getExtractor, not, or
public Comparable getMin()
public Comparable getMax()
public boolean isMinInclusive()
public boolean isMaxInclusive()
protected boolean executeComparable(Comparable attributeValue)
Comparable
attribute valueexecuteComparable
in class ComparableValue
attributeValue
- Comparable attribute valueprotected boolean executeComparableString(Comparable attributeValue)
Comparable
strin type attribute valueexecuteComparableString
in class ComparableValue
attributeValue
- Comparable attribute valueCopyright © 2003–2016 Terracotta, Inc.. All rights reserved.