|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.lucene.facet.FacetResult
public final class FacetResult
Counts or aggregates for a single dimension.
| Field Summary | |
|---|---|
int |
childCount
How many child labels were encountered. |
String |
dim
Dimension that was requested. |
LabelAndValue[] |
labelValues
Child counts. |
String[] |
path
Path whose children were requested. |
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 | |
|---|---|
FacetResult(String dim,
String[] path,
Number value,
LabelAndValue[] labelValues,
int childCount)
Sole constructor. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object _other)
|
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public final String dim
public final String[] path
public final Number value
public final int childCount
public final LabelAndValue[] labelValues
| Constructor Detail |
|---|
public FacetResult(String dim,
String[] path,
Number value,
LabelAndValue[] labelValues,
int childCount)
| Method Detail |
|---|
public String toString()
toString in class Objectpublic boolean equals(Object _other)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||