Package org.apache.maven.index.updater
Class IndexDataWriter
java.lang.Object
org.apache.maven.index.updater.IndexDataWriter
An index data writer used to write transfer index format.
- Author:
- Eugene Kuleshov
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
int
write
(IndexingContext context, org.apache.lucene.index.IndexReader indexReader, List<Integer> docIndexes) boolean
writeDocument
(org.apache.lucene.document.Document document) void
writeDocumentFields
(List<org.apache.lucene.index.IndexableField> fields) int
writeDocuments
(org.apache.lucene.index.IndexReader r, List<Integer> docIndexes) void
writeField
(org.apache.lucene.index.IndexableField field) void
writeGroupFields
(IndexingContext context) void
writeHeader
(IndexingContext context)
-
Constructor Details
-
IndexDataWriter
- Throws:
IOException
-
-
Method Details
-
write
public int write(IndexingContext context, org.apache.lucene.index.IndexReader indexReader, List<Integer> docIndexes) throws IOException - Throws:
IOException
-
close
- Throws:
IOException
-
writeHeader
- Throws:
IOException
-
writeGroupFields
- Throws:
IOException
-
writeDocuments
public int writeDocuments(org.apache.lucene.index.IndexReader r, List<Integer> docIndexes) throws IOException - Throws:
IOException
-
writeDocument
- Throws:
IOException
-
writeDocumentFields
public void writeDocumentFields(List<org.apache.lucene.index.IndexableField> fields) throws IOException - Throws:
IOException
-
writeField
- Throws:
IOException
-