Package org.apache.lucene.facet
Class FacetResult
- java.lang.Object
-
- org.apache.lucene.facet.FacetResult
-
public final class FacetResult extends java.lang.ObjectCounts or aggregates for a single dimension.
-
-
Field Summary
Fields Modifier and Type Field Description intchildCountHow many child labels were encountered.java.lang.StringdimDimension that was requested.LabelAndValue[]labelValuesChild counts.java.lang.String[]pathPath whose children were requested.java.lang.NumbervalueTotal value for this path (sum of all child counts, or sum of all child values), even those not included in the topN.
-
Constructor Summary
Constructors Constructor Description FacetResult(java.lang.String dim, java.lang.String[] path, java.lang.Number value, LabelAndValue[] labelValues, int childCount)Sole constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object _other)inthashCode()java.lang.StringtoString()
-
-
-
Field Detail
-
dim
public final java.lang.String dim
Dimension that was requested.
-
path
public final java.lang.String[] path
Path whose children were requested.
-
value
public final java.lang.Number value
Total value for this path (sum of all child counts, or sum of all child values), even those not included in the topN.
-
childCount
public final int childCount
How many child labels were encountered.
-
labelValues
public final LabelAndValue[] labelValues
Child counts.
-
-
Constructor Detail
-
FacetResult
public FacetResult(java.lang.String dim, java.lang.String[] path, java.lang.Number value, LabelAndValue[] labelValues, int childCount)Sole constructor.
-
-