Module org.apache.lucene.monitor
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 Directory
directory
private LeafReader
reader
-
Constructor Summary
Constructors Constructor Description MultiDocumentBatch(Analyzer analyzer, Document... docs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private LeafReader
build(IndexWriter writer, Document... docs)
void
close()
LeafReader
get()
-
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
-
-