Package org.apache.lucene.facet.taxonomy
Class TaxonomyFacets.AggregatedValue
- java.lang.Object
-
- org.apache.lucene.facet.taxonomy.TaxonomyFacets.AggregatedValue
-
- Direct Known Subclasses:
FloatTaxonomyFacets.FloatAggregatedValue
,IntTaxonomyFacets.IntAggregatedValue
- Enclosing class:
- TaxonomyFacets
protected abstract static class TaxonomyFacets.AggregatedValue extends Object
An accumulator for an aggregated value.
-
-
Constructor Summary
Constructors Constructor Description AggregatedValue()
Default constructor.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract void
aggregate(int ord)
Aggregate the value corresponding to the given ordinal into this value.abstract Number
get()
Retrieve the encapsulated value.
-
-
-
Method Detail
-
aggregate
public abstract void aggregate(int ord)
Aggregate the value corresponding to the given ordinal into this value.
-
get
public abstract Number get()
Retrieve the encapsulated value.
-
-