public abstract static class AbstractAllGroupHeadsCollector.GroupHead<GROUP_VALUE_TYPE> extends Object
Modifier and Type | Field | Description |
---|---|---|
int |
doc |
|
GROUP_VALUE_TYPE |
groupValue |
Modifier | Constructor | Description |
---|---|---|
protected |
GroupHead(GROUP_VALUE_TYPE groupValue,
int doc) |
Modifier and Type | Method | Description |
---|---|---|
protected abstract int |
compare(int compIDX,
int doc) |
Compares the specified document for a specified comparator against the current most relevant document.
|
protected abstract void |
updateDocHead(int doc) |
Updates the current most relevant document with the specified document.
|
public final GROUP_VALUE_TYPE groupValue
public int doc
protected GroupHead(GROUP_VALUE_TYPE groupValue, int doc)
protected abstract int compare(int compIDX, int doc) throws IOException
compIDX
- The comparator index of the specified comparator.doc
- The specified document.IOException
- If I/O related errors occurprotected abstract void updateDocHead(int doc) throws IOException
doc
- The specified documentIOException
- If I/O related errors occurCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.