public final class SortedBytesMergeUtils extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
SortedBytesMergeUtils.BytesRefConsumer |
static class |
SortedBytesMergeUtils.IndexOutputBytesRefConsumer |
static class |
SortedBytesMergeUtils.MergeContext |
static class |
SortedBytesMergeUtils.SortedSourceSlice |
| Modifier and Type | Method and Description |
|---|---|
static List<SortedBytesMergeUtils.SortedSourceSlice> |
buildSlices(int[] docBases,
MergeState.DocMap[] docMaps,
DocValues[] docValues,
SortedBytesMergeUtils.MergeContext ctx) |
static SortedBytesMergeUtils.MergeContext |
init(DocValues.Type type,
DocValues[] docValues,
Comparator<BytesRef> comp,
int mergeDocCount) |
static int |
mergeRecords(SortedBytesMergeUtils.MergeContext ctx,
SortedBytesMergeUtils.BytesRefConsumer consumer,
List<SortedBytesMergeUtils.SortedSourceSlice> slices) |
public static SortedBytesMergeUtils.MergeContext init(DocValues.Type type, DocValues[] docValues, Comparator<BytesRef> comp, int mergeDocCount)
public static List<SortedBytesMergeUtils.SortedSourceSlice> buildSlices(int[] docBases, MergeState.DocMap[] docMaps, DocValues[] docValues, SortedBytesMergeUtils.MergeContext ctx) throws IOException
IOExceptionpublic static int mergeRecords(SortedBytesMergeUtils.MergeContext ctx, SortedBytesMergeUtils.BytesRefConsumer consumer, List<SortedBytesMergeUtils.SortedSourceSlice> slices) throws IOException
IOExceptionCopyright © 2000-2012 Apache Software Foundation. All Rights Reserved.