org.apache.lucene.index
Class SortedBytesMergeUtils
java.lang.Object
org.apache.lucene.index.SortedBytesMergeUtils
public final class SortedBytesMergeUtils
- extends Object
- NOTE: This API is for internal purposes only and might change in incompatible ways in the next release.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
init
public static SortedBytesMergeUtils.MergeContext init(DocValues.Type type,
DocValues[] docValues,
Comparator<BytesRef> comp,
int mergeDocCount)
buildSlices
public static List<SortedBytesMergeUtils.SortedSourceSlice> buildSlices(int[] docBases,
MergeState.DocMap[] docMaps,
DocValues[] docValues,
SortedBytesMergeUtils.MergeContext ctx)
throws IOException
- Throws:
IOException
mergeRecords
public static int mergeRecords(SortedBytesMergeUtils.MergeContext ctx,
SortedBytesMergeUtils.BytesRefConsumer consumer,
List<SortedBytesMergeUtils.SortedSourceSlice> slices)
throws IOException
- Throws:
IOException
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.