public class CombinedShortFacetIterator extends ShortFacetIterator
| Modifier and Type | Class and Description |
|---|---|
static class |
CombinedShortFacetIterator.ShortFacetPriorityQueue
Lucene PriorityQueue
|
| Modifier and Type | Field and Description |
|---|---|
short |
facet |
count| Constructor and Description |
|---|
CombinedShortFacetIterator(List<ShortFacetIterator> iterators) |
CombinedShortFacetIterator(List<ShortFacetIterator> iterators,
int minHits) |
| Modifier and Type | Method and Description |
|---|---|
String |
format(Object val) |
String |
format(short val) |
String |
getFacet() |
int |
getFacetCount() |
boolean |
hasNext() |
String |
next()
Moves the iteration to the next facet
|
String |
next(int minHits)
This version of the next() method applies the minHits from the facet spec before returning the facet and its hitcount
|
short |
nextShort() |
short |
nextShort(int minHits) |
void |
remove() |
public CombinedShortFacetIterator(List<ShortFacetIterator> iterators)
public CombinedShortFacetIterator(List<ShortFacetIterator> iterators, int minHits)
public String getFacet()
public String format(short val)
format in class ShortFacetIteratorpublic String format(Object val)
format in class FacetIteratorpublic int getFacetCount()
public String next()
FacetIteratornext in interface Iterator<Comparable>next in class FacetIteratorpublic String next(int minHits)
next in class FacetIteratorminHits - the minHits from the facet spec for CombinedFacetAccessiblepublic boolean hasNext()
public void remove()
public short nextShort()
nextShort in class ShortFacetIteratorpublic short nextShort(int minHits)
nextShort in class ShortFacetIteratorCopyright © 2005–2013. All rights reserved.