|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.endeca.navigation.RangeFilter
public class RangeFilter
Class representing a range filter on a navigation record set. A filter is composed of a record property name and a set of conditions that have to be true in order for a record to pass through the filter.
Constructor Summary | |
---|---|
RangeFilter(String filter)
Constructor creating a filter. |
Method Summary | |
---|---|
String |
toString()
Returns the string representation of the filter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RangeFilter(String filter)
"Price|LT 10.88"
"Location|GCLT 40.56,-89.53 5"
"create_date|BTWN 20020131 20020214"
"Location|GCBTWN 40.56,-89.53 5 200 "
"modified|GTEQ 2002"
filter
- Range filter statement of the format:
'<property name>|<filter statement>'
<filter statement> = '[<unbounded range>|<bounded range>|<geocode range>|<geocode bounded range>]'
<geocode range> = '[GCLT|GCGT] <geocode> <constant>'
<unbounded range> = '[LT|LTEQ|GT|GTEQ] <constant>'
<bounded range> = 'BTWN <constant> <constant>'
<geocode bounded range> = 'GCBTWN <geocode> <constant> <constant>'
<property name> = name of a numerical record property.
<geocode> = <constant>, <constant>
<constant> = numerical constant that defines the range
bounds.
Method Detail |
---|
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |