public class FunctionAllGroupHeadsCollector.GroupHead extends AbstractAllGroupHeadsCollector.GroupHead<MutableValue>
doc, groupValue
Modifier and Type | Method and Description |
---|---|
int |
compare(int compIDX,
int doc)
Compares the specified document for a specified comparator against the current most relevant document.
|
void |
updateDocHead(int doc)
Updates the current most relevant document with the specified document.
|
public int compare(int compIDX, int doc) throws IOException
AbstractAllGroupHeadsCollector.GroupHead
compare
in class AbstractAllGroupHeadsCollector.GroupHead<MutableValue>
compIDX
- The comparator index of the specified comparator.doc
- The specified document.IOException
- If I/O related errors occurpublic void updateDocHead(int doc) throws IOException
AbstractAllGroupHeadsCollector.GroupHead
updateDocHead
in class AbstractAllGroupHeadsCollector.GroupHead<MutableValue>
doc
- The specified documentIOException
- If I/O related errors occurCopyright © 2000-2015 Apache Software Foundation. All Rights Reserved.