Package org.apache.lucene.facet.taxonomy
Class IntTaxonomyFacets.IntAggregatedValue
java.lang.Object
org.apache.lucene.facet.taxonomy.TaxonomyFacets.AggregatedValue
org.apache.lucene.facet.taxonomy.IntTaxonomyFacets.IntAggregatedValue
- Enclosing class:
IntTaxonomyFacets
An accumulator for an integer aggregated value.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
IntAggregatedValue
public IntAggregatedValue(int value) Sole constructor.
-
-
Method Details
-
aggregate
public void aggregate(int ord) Description copied from class:TaxonomyFacets.AggregatedValue
Aggregate the value corresponding to the given ordinal into this value.- Specified by:
aggregate
in classTaxonomyFacets.AggregatedValue
-
get
Description copied from class:TaxonomyFacets.AggregatedValue
Retrieve the encapsulated value.- Specified by:
get
in classTaxonomyFacets.AggregatedValue
-