public class FacetRange extends Object implements Serializable
NOTE: the lower bounds of the range is inclusive, while the upper bounds is exclusive.
Modifier and Type | Field and Description |
---|---|
static FacetRange[] |
EMPTY_ARRAY |
Constructor and Description |
---|
FacetRange() |
FacetRange(Date minValue,
Date maxValue)
Construct a new FacetRange.
|
FacetRange(Number minValue,
Number maxValue)
Construct a new FacetRange.
|
FacetRange(String label) |
FacetRange(String label,
Date minValue,
Date maxValue)
Construct a new FacetRange.
|
FacetRange(String label,
Number minValue,
Number maxValue)
Construct a new FacetRange.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
String |
getLabel()
Get the optional label for this range.
|
Object |
getMaxValue()
Get the maximum value for this range (or null if unbounded) [exclusive].
|
Object |
getMinValue()
Get the minimum value for this range (or null if unbounded) [inclusive].
|
int |
hashCode() |
void |
setLabel(String value)
Set the optional label for this range.
|
void |
setMaxValue(Date value)
Set the maximum value for this range (or null if unbounded) [inclusive].
|
void |
setMaxValue(Number value)
Set the maximum value for this range (or null if unbounded) [inclusive].
|
void |
setMinValue(Date value)
Set the minimum value for this range (or null if unbounded) [inclusive].
|
void |
setMinValue(Number value)
Set the minimum value for this range (or null if unbounded) [inclusive].
|
String |
toString() |
public static final FacetRange[] EMPTY_ARRAY
public FacetRange()
public FacetRange(String label)
public FacetRange(String label, Number minValue, Number maxValue)
public String getLabel()
public void setLabel(String value)
public Object getMinValue()
public void setMinValue(Number value)
public void setMinValue(Date value)
public Object getMaxValue()
public void setMaxValue(Number value)
public void setMaxValue(Date value)
Copyright © 2018 Attivio, Inc. All Rights Reserved.
PATENT NOTICE: Attivio, Inc. Software Related Patents. With respect to the Attivio software product(s) being used, the following patents apply: Querying Joined Data Within A Search Engine Index: United States Patent No.(s): 8,073,840. Ordered Processing of Groups of Messages: U.S. Patent No.(s) 8,495,656. Signal processing approach to sentiment analysis for entities in documents: U.S. Patent No.(s) 8,725,494. Other U.S. and International Patents Pending.