public abstract class DocIDMerger<T extends DocIDMerger.Sub>
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
DocIDMerger.Sub
Represents one sub-reader being merged
|
| Modifier and Type | Method and Description |
|---|---|
abstract T |
next()
Returns null when done.
|
static <T extends DocIDMerger.Sub> |
of(java.util.List<T> subs,
boolean indexIsSorted)
Construct this from the provided subs
|
static <T extends DocIDMerger.Sub> |
of(java.util.List<T> subs,
int maxCount,
boolean indexIsSorted)
Construct this from the provided subs, specifying the maximum sub count
|
abstract void |
reset()
Reuse API, currently only used by postings during merge
|
public static <T extends DocIDMerger.Sub> DocIDMerger<T> of(java.util.List<T> subs, int maxCount, boolean indexIsSorted) throws java.io.IOException
java.io.IOExceptionpublic static <T extends DocIDMerger.Sub> DocIDMerger<T> of(java.util.List<T> subs, boolean indexIsSorted) throws java.io.IOException
java.io.IOExceptionpublic abstract void reset()
throws java.io.IOException
java.io.IOExceptionpublic abstract T next() throws java.io.IOException
java.io.IOExceptionCopyright © 2000–2025 The Apache Software Foundation. All rights reserved.