Package org.apache.lucene.facet
Class FacetResult
- java.lang.Object
-
- org.apache.lucene.facet.FacetResult
-
public final class FacetResult extends java.lang.Object
Counts or aggregates for a single dimension.
-
-
Field Summary
Fields Modifier and Type Field Description int
childCount
How many child labels were encountered.java.lang.String
dim
Dimension that was requested.LabelAndValue[]
labelValues
Child counts.java.lang.String[]
path
Path whose children were requested.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.
-
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 boolean
equals(java.lang.Object _other)
int
hashCode()
java.lang.String
toString()
-
-
-
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.
-
-