public class CombinedDoubleFacetIterator extends DoubleFacetIterator
| Modifier and Type | Class and Description |
|---|---|
static class |
CombinedDoubleFacetIterator.DoubleFacetPriorityQueue
Lucene PriorityQueue
|
| Modifier and Type | Field and Description |
|---|---|
double |
facet |
count| Constructor and Description |
|---|
CombinedDoubleFacetIterator(List<DoubleFacetIterator> iterators) |
CombinedDoubleFacetIterator(List<DoubleFacetIterator> iterators,
int minHits) |
| Modifier and Type | Method and Description |
|---|---|
String |
format(double 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
|
double |
nextDouble() |
double |
nextDouble(int minHits) |
void |
remove() |
public CombinedDoubleFacetIterator(List<DoubleFacetIterator> iterators)
public CombinedDoubleFacetIterator(List<DoubleFacetIterator> iterators, int minHits)
public String getFacet()
public String format(double val)
format in class DoubleFacetIteratorpublic 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 double nextDouble()
nextDouble in class DoubleFacetIteratorpublic double nextDouble(int minHits)
nextDouble in class DoubleFacetIteratorCopyright © 2005–2013. All rights reserved.