public class CombinedLongFacetIterator extends LongFacetIterator
| Modifier and Type | Class and Description |
|---|---|
static class |
CombinedLongFacetIterator.LongFacetPriorityQueue
Lucene PriorityQueue
|
| Modifier and Type | Field and Description |
|---|---|
long |
facet |
count| Constructor and Description |
|---|
CombinedLongFacetIterator(List<LongFacetIterator> iterators) |
CombinedLongFacetIterator(List<LongFacetIterator> iterators,
int minHits) |
| Modifier and Type | Method and Description |
|---|---|
String |
format(long val) |
String |
format(Object 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
|
long |
nextLong() |
long |
nextLong(int minHits) |
void |
remove() |
public CombinedLongFacetIterator(List<LongFacetIterator> iterators)
public CombinedLongFacetIterator(List<LongFacetIterator> iterators, int minHits)
public String getFacet()
public String format(long val)
format in class LongFacetIteratorpublic 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 long nextLong()
nextLong in class LongFacetIteratorpublic long nextLong(int minHits)
nextLong in class LongFacetIteratorCopyright © 2005–2013. All rights reserved.