org.apache.solr.client.solrj.response
Class RangeFacet<B,G>
java.lang.Object
org.apache.solr.client.solrj.response.RangeFacet<B,G>
- Direct Known Subclasses:
- RangeFacet.Date, RangeFacet.Numeric
public abstract class RangeFacet<B,G>
- extends Object
Represents a range facet result
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RangeFacet
protected RangeFacet(String name,
B start,
B end,
G gap,
Number before,
Number after,
Number between)
addCount
public void addCount(String value,
int count)
getName
public String getName()
getCounts
public List<RangeFacet.Count> getCounts()
getStart
public B getStart()
getEnd
public B getEnd()
getGap
public G getGap()
getBefore
public Number getBefore()
getAfter
public Number getAfter()
getBetween
public Number getBetween()
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.