public class FacetResult extends Object
Constructor and Description |
---|
FacetResult(FacetRequest facetRequest,
FacetResultNode rootNode,
int numValidDescendants) |
Modifier and Type | Method and Description |
---|---|
FacetRequest |
getFacetRequest()
Request for which this result was obtained.
|
FacetResultNode |
getFacetResultNode()
Facet result node matching the root of the
facet request . |
int |
getNumValidDescendants()
Number of descendants of
root facet result
node , up till the requested depth. |
String |
toString() |
String |
toString(String prefix)
String representation of this facet result.
|
public FacetResult(FacetRequest facetRequest, FacetResultNode rootNode, int numValidDescendants)
public final FacetResultNode getFacetResultNode()
facet request
.getFacetRequest()
,
FacetRequest.categoryPath
public final int getNumValidDescendants()
root facet result
node
, up till the requested depth.public final FacetRequest getFacetRequest()
public String toString(String prefix)
prefix
- prefix for each result linetoString()
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.