private static class SortingLeafReader.SortingBinaryDocValues extends BinaryDocValues
Modifier and Type | Field and Description |
---|---|
private Sorter.DocMap |
docMap |
private BinaryDocValues |
in |
Constructor and Description |
---|
SortingBinaryDocValues(BinaryDocValues in,
Sorter.DocMap docMap) |
Modifier and Type | Method and Description |
---|---|
BytesRef |
get(int docID)
Lookup the value for document.
|
private final BinaryDocValues in
private final Sorter.DocMap docMap
SortingBinaryDocValues(BinaryDocValues in, Sorter.DocMap docMap)
public BytesRef get(int docID)
BinaryDocValues
BytesRef
may be
re-used across calls to BinaryDocValues.get(int)
so make sure to
copy it
if you want to keep it
around.get
in class BinaryDocValues