Class RangeFacetImpl<T>
java.lang.Object
org.hibernate.search.query.dsl.impl.AbstractFacet
org.hibernate.search.query.dsl.impl.RangeFacetImpl<T>
- All Implemented Interfaces:
Facet,RangeFacet<T>
-
Method Summary
Methods inherited from class org.hibernate.search.query.dsl.impl.AbstractFacet
equals, getCount, getFacetingName, getFieldName, getValue, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.hibernate.search.query.facet.Facet
getCount, getFacetingName, getFieldName, getValue
-
Method Details
-
getFacetQuery
- Specified by:
getFacetQueryin interfaceFacet- Specified by:
getFacetQueryin classAbstractFacet- Returns:
- a Lucene
Querywhich can be applied just targeted all documents matching the value of this facet
-
getRangeIndex
public int getRangeIndex() -
getMin
- Specified by:
getMinin interfaceRangeFacet<T>- Returns:
- the lower boundary of this range
-
getMax
- Specified by:
getMaxin interfaceRangeFacet<T>- Returns:
- the upper boundary of this range
-
isIncludeMin
public boolean isIncludeMin()- Specified by:
isIncludeMinin interfaceRangeFacet<T>- Returns:
trueif the lower boundary is included in the range,falseotherwise
-
isIncludeMax
public boolean isIncludeMax()- Specified by:
isIncludeMaxin interfaceRangeFacet<T>- Returns:
trueif the upper boundary is included in the range,falseotherwise
-