public class FacetResult extends Object
QueryResult capable of returning information about facets
stored in the query result Rows.| Modifier and Type | Class and Description |
|---|---|
static class |
FacetResult.Facet
A query result facet, composed by its label and count.
|
| Constructor and Description |
|---|
FacetResult(QueryResult queryResult) |
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getDimensions() |
List<FacetResult.Facet> |
getFacets(String dimension) |
public FacetResult(QueryResult queryResult)
@CheckForNull public List<FacetResult.Facet> getFacets(@Nonnull String dimension)
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.