|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.solr.client.solrj.response.FacetField
public class FacetField
A utility class to hold the facet response. It could use the NamedList container, but for JSTL, it is nice to have something that implements List so it can be iterated
| Nested Class Summary | |
|---|---|
static class |
FacetField.Count
|
| Constructor Summary | |
|---|---|
FacetField(String n)
|
|
FacetField(String name,
String gap,
Date end)
|
|
| Method Summary | |
|---|---|
void |
add(String name,
long cnt)
Insert at the end of the list |
Date |
getEnd()
Date End Facet parameter |
String |
getGap()
Date Gap Facet parameter |
FacetField |
getLimitingFields(long max)
|
String |
getName()
|
int |
getValueCount()
|
List<FacetField.Count> |
getValues()
|
void |
insert(String name,
long cnt)
Insert at the beginning of the list. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FacetField(String n)
public FacetField(String name,
String gap,
Date end)
| Method Detail |
|---|
public String getGap()
public Date getEnd()
public void add(String name,
long cnt)
public void insert(String name,
long cnt)
public String getName()
public List<FacetField.Count> getValues()
public int getValueCount()
public FacetField getLimitingFields(long max)
public String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||