public static class SortedBytesMergeUtils.SortedSourceSlice extends Object
SortedBytesMergeUtils.SortedSourceSlice
represents a single DocValues.SortedSource
merge candidate.
It encapsulates ordinal and pre-calculated target doc id to ordinal mappings.
This class also holds state private to the merge process.Modifier and Type | Method and Description |
---|---|
int[] |
toAbsolutOrds(int[] docToOrd)
Fills in the absolute ords for this slice.
|
void |
writeOrds(PackedInts.Writer writer)
Writes ords for this slice.
|
public int[] toAbsolutOrds(int[] docToOrd)
docToOrd
public void writeOrds(PackedInts.Writer writer) throws IOException
IOException
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.