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
Holds a block of detailLevel counts aggregated to their parent level.
-
Field Summary
Modifier and TypeFieldDescriptionint[]
The detail level counts.int
The length ofchildCounts
.int
The count of ranges that span all of the childCounts. -
Constructor Summary
-
Method Summary
-
Field Details
-
parentLeaves
public int parentLeavesThe 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 childCountsLenThe 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[] childCountsThe 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.
-
-
Constructor Details
-
FacetParentVal
public FacetParentVal()
-