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
Constructors - 
Method Summary
Modifier 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
- 
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
 
 -