public class FacetResult
extends java.lang.Object
QueryResult
capable of returning information about facets
stored in the query result Row
s.Modifier and Type | Class and Description |
---|---|
static class |
FacetResult.Facet
A query result facet, composed by its label and count.
|
static interface |
FacetResult.FacetResultRow |
Constructor and Description |
---|
FacetResult(QueryResult queryResult) |
FacetResult(java.lang.String[] columnNames,
FacetResult.FacetResultRow... rows) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.String> |
asColumnToFacetJsonMap() |
@NotNull java.util.Set<java.lang.String> |
getDimensions() |
@Nullable java.util.List<FacetResult.Facet> |
getFacets(@NotNull java.lang.String dimension) |
public FacetResult(QueryResult queryResult)
public FacetResult(java.lang.String[] columnNames, FacetResult.FacetResultRow... rows)
public java.util.Map<java.lang.String,java.lang.String> asColumnToFacetJsonMap()
@NotNull public @NotNull java.util.Set<java.lang.String> getDimensions()
@Nullable public @Nullable java.util.List<FacetResult.Facet> getFacets(@NotNull @NotNull java.lang.String dimension)
Copyright © 2010 - 2020 Adobe. All Rights Reserved