org.apache.maven.index.updater
Class IndexDataWriter
java.lang.Object
org.apache.maven.index.updater.IndexDataWriter
public class IndexDataWriter
- extends Object
An index data writer used to write transfer index format.
- Author:
- Eugene Kuleshov
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IndexDataWriter
public IndexDataWriter(OutputStream os)
throws IOException
- Throws:
IOException
write
public int write(IndexingContext context,
List<Integer> docIndexes)
throws IOException
- Throws:
IOException
close
public void close()
throws IOException
- Throws:
IOException
writeHeader
public void writeHeader(IndexingContext context)
throws IOException
- Throws:
IOException
writeGroupFields
public void writeGroupFields()
throws IOException
- Throws:
IOException
writeDocuments
public int writeDocuments(org.apache.lucene.index.IndexReader r,
List<Integer> docIndexes)
throws IOException
- Throws:
IOException
writeDocument
public boolean writeDocument(org.apache.lucene.document.Document document)
throws IOException
- Throws:
IOException
writeDocumentFields
public void writeDocumentFields(List<org.apache.lucene.document.Fieldable> fields)
throws IOException
- Throws:
IOException
writeField
public void writeField(org.apache.lucene.document.Fieldable field)
throws IOException
- Throws:
IOException
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.