public abstract class DocIDMerger<T extends DocIDMerger.Sub> extends 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(List<T> subs,
boolean indexIsSorted)
Construct this from the provided subs
|
static <T extends DocIDMerger.Sub> |
of(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(List<T> subs, int maxCount, boolean indexIsSorted)
public static <T extends DocIDMerger.Sub> DocIDMerger<T> of(List<T> subs, boolean indexIsSorted)
public abstract void reset()
public abstract T next()
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.