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()
Deprecated.
this method returns only stats names with numeric value, instead use
getStatNames() |
Number |
getStatFacetValue(String name)
Deprecated.
this method works only for numeric value stats, instead use
getStatValue(String) |
Set<String> |
getStatNames() |
Object |
getStatValue(String name)
Retrieve the value for a stat or agg 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)
getStatValue(String)
public Object getStatValue(String name)
public Set<String> getStatFacetNames()
getStatNames()
public Set<String> getStatNames()
public HeatmapJsonFacet getHeatmapFacetByName(String name)
public Set<String> getHeatmapFacetNames()
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.