Class AbstractFacet
java.lang.Object
org.hibernate.search.query.dsl.impl.AbstractFacet
- All Implemented Interfaces:
Facet
- Direct Known Subclasses:
RangeFacetImpl
A single facet (field value and count).
-
Constructor Details
-
AbstractFacet
-
-
Method Details
-
getCount
public int getCount() -
getValue
-
getFieldName
- Specified by:
getFieldNamein interfaceFacet- Returns:
- the
Documentfield name this facet was created for
-
getFacetingName
- Specified by:
getFacetingNamein interfaceFacet- Returns:
- the faceting name this
Facetbelongs to. SeeFacetingRequest.getFacetingName().
-
getFacetQuery
- Specified by:
getFacetQueryin interfaceFacet- Returns:
- a Lucene
Querywhich can be applied just targeted all documents matching the value of this facet
-
equals
-
hashCode
public int hashCode() -
toString
-