Package org.codelibs.fess.util
Class FacetResponse
- java.lang.Object
-
- org.codelibs.fess.util.FacetResponse
-
public class FacetResponse extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFacetResponse.Field
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<FacetResponse.Field>fieldListprotected java.util.Map<java.lang.String,java.lang.Long>queryCountMap
-
Constructor Summary
Constructors Constructor Description FacetResponse(org.elasticsearch.search.aggregations.Aggregations aggregations)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<FacetResponse.Field>getFieldList()java.util.Map<java.lang.String,java.lang.Long>getQueryCountMap()booleanhasFacetResponse()
-
-
-
Field Detail
-
queryCountMap
protected java.util.Map<java.lang.String,java.lang.Long> queryCountMap
-
fieldList
protected java.util.List<FacetResponse.Field> fieldList
-
-
Method Detail
-
hasFacetResponse
public boolean hasFacetResponse()
-
getQueryCountMap
public java.util.Map<java.lang.String,java.lang.Long> getQueryCountMap()
- Returns:
- the queryCountMap
-
getFieldList
public java.util.List<FacetResponse.Field> getFieldList()
- Returns:
- the fieldList
-
-