public class AppendingTermsWriter extends BlockTreeTermsWriter
BlockTreeTermsWriter
DEFAULT_MAX_BLOCK_SIZE, DEFAULT_MIN_BLOCK_SIZE
Constructor and Description |
---|
AppendingTermsWriter(SegmentWriteState state,
PostingsWriterBase postingsWriter,
int minItemsInBlock,
int maxItemsInBlock) |
Modifier and Type | Method and Description |
---|---|
protected void |
writeHeader(IndexOutput out) |
protected void |
writeIndexHeader(IndexOutput out) |
protected void |
writeIndexTrailer(IndexOutput indexOut,
long dirStart) |
protected void |
writeTrailer(IndexOutput out,
long dirStart) |
addField, close
merge
public AppendingTermsWriter(SegmentWriteState state, PostingsWriterBase postingsWriter, int minItemsInBlock, int maxItemsInBlock) throws IOException
IOException
protected void writeHeader(IndexOutput out) throws IOException
writeHeader
in class BlockTreeTermsWriter
IOException
protected void writeIndexHeader(IndexOutput out) throws IOException
writeIndexHeader
in class BlockTreeTermsWriter
IOException
protected void writeTrailer(IndexOutput out, long dirStart) throws IOException
writeTrailer
in class BlockTreeTermsWriter
IOException
protected void writeIndexTrailer(IndexOutput indexOut, long dirStart) throws IOException
writeIndexTrailer
in class BlockTreeTermsWriter
IOException
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.