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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidclose()intwrite(IndexingContext context, org.apache.lucene.index.IndexReader indexReader, List<Integer> docIndexes) booleanwriteDocument(org.apache.lucene.document.Document document) voidwriteDocumentFields(List<org.apache.lucene.index.IndexableField> fields) intwriteDocuments(org.apache.lucene.index.IndexReader r, List<Integer> docIndexes) voidwriteField(org.apache.lucene.index.IndexableField field) voidwriteGroupFields(IndexingContext context) voidwriteHeader(IndexingContext context) 
- 
Constructor Details- 
IndexDataWriter- Throws:
- IOException
 
 
- 
- 
Method Details- 
writepublic 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
 
- 
writeDocumentspublic int writeDocuments(org.apache.lucene.index.IndexReader r, List<Integer> docIndexes) throws IOException - Throws:
- IOException
 
- 
writeDocument- Throws:
- IOException
 
- 
writeDocumentFieldspublic void writeDocumentFields(List<org.apache.lucene.index.IndexableField> fields) throws IOException - Throws:
- IOException
 
- 
writeField- Throws:
- IOException
 
 
-