Class GroupFacetCollector.SegmentResult
- java.lang.Object
-
- org.apache.lucene.search.grouping.GroupFacetCollector.SegmentResult
-
- Enclosing class:
- GroupFacetCollector
protected abstract static class GroupFacetCollector.SegmentResult extends Object
Contains the local grouped segment counts for a particular segment. EachSegmentResultmust be added together.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSegmentResult(int[] counts, int total, int missing, int maxTermPos)
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description protected abstract voidnextTerm()Go to next term in thisSegmentResultin order to retrieve the grouped facet counts.
-
-
-
Field Detail
-
counts
protected final int[] counts
-
total
protected final int total
-
missing
protected final int missing
-
maxTermPos
protected final int maxTermPos
-
mergeTerm
protected BytesRef mergeTerm
-
mergePos
protected int mergePos
-
-
Method Detail
-
nextTerm
protected abstract void nextTerm() throws IOExceptionGo to next term in thisSegmentResultin order to retrieve the grouped facet counts.- Throws:
IOException- If I/O related errors occur
-
-