private static class DocumentBatch.SingletonDocumentBatch extends DocumentBatch
Modifier and Type | Field and Description |
---|---|
private LeafReader |
reader |
Modifier | Constructor and Description |
---|---|
private |
SingletonDocumentBatch(Analyzer analyzer,
Document doc) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
LeafReader |
get() |
of, of
private final LeafReader reader
public LeafReader get()
public void close() throws java.io.IOException
java.io.IOException