com.google.appengine.api.search
Class FacetResult
- java.lang.Object
- 
- com.google.appengine.api.search.FacetResult
 
- 
- All Implemented Interfaces:
- java.io.Serializable
 
 
 public final class FacetResult extends java.lang.Object implements java.io.SerializableRepresents a facet result computed from an extended search result set. A facet result contains a name, a type, and a set of values. Name is a single facet name and each value has a label and a count. The value label can be a single facet value name, or a range label (in "[start,end)" format).- See Also:
- Serialized Form
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class and Description static classFacetResult.BuilderA builder of facet result.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.StringgetName()Name of this facet result that is a single facet name.java.util.List<FacetResultValue>getValues()The list of facet values computed during search.static FacetResult.BuildernewBuilder()java.lang.StringtoString()
 
- 
- 
- 
Method Detail- 
getValuespublic java.util.List<FacetResultValue> getValues() The list of facet values computed during search. Each value result has a label, count, and refinement token.- Returns:
- an unmodifiable list of values
 
 - 
getNamepublic java.lang.String getName() Name of this facet result that is a single facet name.- Returns:
- name as string
 
 - 
newBuilderpublic static FacetResult.Builder newBuilder() 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 
- 
 
-