public class FacetValue extends Object
Constructor and Description |
---|
FacetValue() |
Modifier and Type | Method and Description |
---|---|
Double |
getAggregation(FacetAggregation aggregation) |
Double |
getAverage()
Stores average value if FacetAggregation.Average was set.
|
Integer |
getCount()
Stores count value if FacetAggregation.Count was set.
|
int |
getHits()
Number of terms that are covered by this facet.
|
Double |
getMax()
Stores maximum value if FacetAggregation.Max was set.
|
Double |
getMin()
Stores minimum value if FacetAggregation.Min was set.
|
String |
getRange()
Name of range for which facet value applies.
|
Double |
getSum()
Stores sum of all values if FacetAggregation.Sum was set.
|
void |
setAverage(Double average)
Stores average value if FacetAggregation.Average was set.
|
void |
setCount(Integer count)
Stores count value if FacetAggregation.Count was set.
|
void |
setHits(int hits)
Number of terms that are covered by this facet.
|
void |
setMax(Double max)
Stores maximum value if FacetAggregation.Max was set.
|
void |
setMin(Double min)
Stores minimum value if FacetAggregation.Min was set.
|
void |
setRange(String range)
Name of range for which facet value applies.
|
void |
setSum(Double sum)
Stores sum of all values if FacetAggregation.Sum was set.
|
String |
toString() |
public Double getAggregation(FacetAggregation aggregation)
public Double getAverage()
public Integer getCount()
public int getHits()
public Double getMax()
public Double getMin()
public String getRange()
public Double getSum()
public void setAverage(Double average)
average
- public void setCount(Integer count)
count
- public void setHits(int hits)
hits
- public void setMax(Double max)
max
- public void setMin(Double min)
min
- public void setRange(String range)
range
- public void setSum(Double sum)
sum
- Copyright © 2016. All Rights Reserved.