org.apache.lucene.codecs.appending
Class AppendingTermsWriter
java.lang.Object
org.apache.lucene.codecs.FieldsConsumer
org.apache.lucene.codecs.BlockTreeTermsWriter
org.apache.lucene.codecs.appending.AppendingTermsWriter
- All Implemented Interfaces:
- Closeable
public class AppendingTermsWriter
- extends BlockTreeTermsWriter
Writes old Appending-formatted terms dictionaries for testing.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AppendingTermsWriter
public AppendingTermsWriter(SegmentWriteState state,
PostingsWriterBase postingsWriter,
int minItemsInBlock,
int maxItemsInBlock)
throws IOException
- Throws:
IOException
writeHeader
protected void writeHeader(IndexOutput out)
throws IOException
- Overrides:
writeHeader
in class BlockTreeTermsWriter
- Throws:
IOException
writeIndexHeader
protected void writeIndexHeader(IndexOutput out)
throws IOException
- Overrides:
writeIndexHeader
in class BlockTreeTermsWriter
- Throws:
IOException
writeTrailer
protected void writeTrailer(IndexOutput out,
long dirStart)
throws IOException
- Overrides:
writeTrailer
in class BlockTreeTermsWriter
- Throws:
IOException
writeIndexTrailer
protected void writeIndexTrailer(IndexOutput indexOut,
long dirStart)
throws IOException
- Overrides:
writeIndexTrailer
in class BlockTreeTermsWriter
- Throws:
IOException
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.