Package org.apache.lucene.monitor
Class DocumentBatch.MultiDocumentBatch
- java.lang.Object
-
- org.apache.lucene.monitor.DocumentBatch
-
- org.apache.lucene.monitor.DocumentBatch.MultiDocumentBatch
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable,java.util.function.Supplier<LeafReader>
- Enclosing class:
- DocumentBatch
private static class DocumentBatch.MultiDocumentBatch extends DocumentBatch
-
-
Field Summary
Fields Modifier and Type Field Description private Directorydirectoryprivate LeafReaderreader
-
Constructor Summary
Constructors Constructor Description MultiDocumentBatch(Analyzer analyzer, Document... docs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private LeafReaderbuild(IndexWriter writer, Document... docs)voidclose()LeafReaderget()-
Methods inherited from class org.apache.lucene.monitor.DocumentBatch
of, of
-
-
-
-
Field Detail
-
directory
private final Directory directory
-
reader
private final LeafReader reader
-
-
Method Detail
-
get
public LeafReader get()
-
build
private LeafReader build(IndexWriter writer, Document... docs) throws java.io.IOException
- Throws:
java.io.IOException
-
close
public void close() throws java.io.IOException- Throws:
java.io.IOException
-
-