public class NestableJsonFacet extends Object
Constructor and Description |
---|
NestableJsonFacet(NamedList<Object> facetNL) |
Modifier and Type | Method and Description |
---|---|
Set<String> |
getBucketBasedFacetNames() |
BucketBasedJsonFacet |
getBucketBasedFacets(String name)
Retrieve a nested "terms" or "range" facet by its name.
|
long |
getCount()
The number of records matching the domain of this facet.
|
HeatmapJsonFacet |
getHeatmapFacetByName(String name)
Retrieve a "heatmap" facet by its name
|
Set<String> |
getHeatmapFacetNames() |
protected Set<String> |
getKeysToSkip() |
NestableJsonFacet |
getQueryFacet(String name)
Retrieve a nested "query" facet by its name
|
Set<String> |
getQueryFacetNames() |
Set<String> |
getStatFacetNames() |
Number |
getStatFacetValue(String name)
Retrieve the value for a stat or agg facet with the provided name
|
public long getCount()
public NestableJsonFacet getQueryFacet(String name)
public Set<String> getQueryFacetNames()
public BucketBasedJsonFacet getBucketBasedFacets(String name)
public Set<String> getBucketBasedFacetNames()
public Number getStatFacetValue(String name)
public Set<String> getStatFacetNames()
public HeatmapJsonFacet getHeatmapFacetByName(String name)
public Set<String> getHeatmapFacetNames()
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.