public class RangeFacetImpl<T> extends AbstractFacet implements RangeFacet<T>
Modifier and Type | Method and Description |
---|---|
Query |
getFacetQuery() |
T |
getMax() |
T |
getMin() |
int |
getRangeIndex() |
boolean |
isIncludeMax() |
boolean |
isIncludeMin() |
equals, getCount, getFacetingName, getFieldName, getValue, hashCode, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getCount, getFacetingName, getFieldName, getValue
public Query getFacetQuery()
getFacetQuery
in interface Facet
getFacetQuery
in class AbstractFacet
Query
which which can be executed to retrieve all
documents matching the value of this facet.public int getRangeIndex()
public T getMin()
getMin
in interface RangeFacet<T>
public T getMax()
getMax
in interface RangeFacet<T>
public boolean isIncludeMin()
isIncludeMin
in interface RangeFacet<T>
true
if the lower boundary is included in the range, false
otherwisepublic boolean isIncludeMax()
isIncludeMax
in interface RangeFacet<T>
true
if the upper boundary is included in the range, false
otherwiseCopyright © 2006-2017 Red Hat, Inc. All Rights Reserved