Package org.apache.lucene.spatial.prefix
Class NumberRangePrefixTreeStrategy.Facets.FacetParentVal
- java.lang.Object
-
- org.apache.lucene.spatial.prefix.NumberRangePrefixTreeStrategy.Facets.FacetParentVal
-
- Enclosing class:
- NumberRangePrefixTreeStrategy.Facets
public static class NumberRangePrefixTreeStrategy.Facets.FacetParentVal extends Object
Holds a block of detailLevel counts aggregated to their parent level.
-
-
Field Summary
Fields Modifier and Type Field Description int[]
childCounts
The detail level counts.int
childCountsLen
The length ofchildCounts
.int
parentLeaves
The count of ranges that span all of the childCounts.
-
Constructor Summary
Constructors Constructor Description FacetParentVal()
-
-
-
Field Detail
-
parentLeaves
public int parentLeaves
The count of ranges that span all of the childCounts. In more technical terms, this is the number of leaf cells found at this parent. Treat this likeNumberRangePrefixTreeStrategy.Facets.topLeaves
.
-
childCountsLen
public int childCountsLen
The length ofchildCounts
. If childCounts is not null then this is childCounts.length, otherwise it says how long it would have been if it weren't null.
-
childCounts
public int[] childCounts
The detail level counts. It will be null if there are none, and thus they are assumed 0. Most apps, when presenting the information, will addNumberRangePrefixTreeStrategy.Facets.topLeaves
andparentLeaves
to each count.
-
-