public static class NumberRangePrefixTreeStrategy.Facets extends Object
Modifier and Type | Class and Description |
---|---|
static class |
NumberRangePrefixTreeStrategy.Facets.FacetParentVal
Holds a block of detailLevel counts aggregated to their parent level.
|
Modifier and Type | Field and Description |
---|---|
int |
detailLevel
The bottom-most detail-level counted, as requested.
|
SortedMap<NumberRangePrefixTree.UnitNRShape,NumberRangePrefixTreeStrategy.Facets.FacetParentVal> |
parents
Holds all the
NumberRangePrefixTreeStrategy.Facets.FacetParentVal instances in order of the key. |
int |
topLeaves
The count of documents with ranges that completely spanned the parents of the detail level.
|
Constructor and Description |
---|
Facets(int detailLevel) |
public final int detailLevel
public int topLeaves
public final SortedMap<NumberRangePrefixTree.UnitNRShape,NumberRangePrefixTreeStrategy.Facets.FacetParentVal> parents
NumberRangePrefixTreeStrategy.Facets.FacetParentVal
instances in order of the key. This is sparse; there won't be an
instance if it's count and children are all 0. The keys are NumberRangePrefixTree.UnitNRShape
shapes, which can be
converted back to the original Object (i.e. a Calendar) via
NumberRangePrefixTree.toObject(org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree.UnitNRShape)
.Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.