@Deprecated public class Lucene40SkipListWriter extends MultiLevelSkipListWriter
Lucene40PostingsFormatnumberOfSkipLevels| Constructor and Description |
|---|
Lucene40SkipListWriter(int skipInterval,
int numberOfSkipLevels,
int docCount,
IndexOutput freqOutput,
IndexOutput proxOutput)
Deprecated.
Sole constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
resetSkip()
Deprecated.
Creates new buffers or empties the existing ones
|
void |
setSkipData(int doc,
boolean storePayloads,
int payloadLength,
boolean storeOffsets,
int offsetLength)
Deprecated.
Sets the values for the current skip data.
|
protected void |
writeSkipData(int level,
IndexOutput skipBuffer)
Deprecated.
Subclasses must implement the actual skip data encoding in this method.
|
bufferSkip, init, writeSkippublic Lucene40SkipListWriter(int skipInterval,
int numberOfSkipLevels,
int docCount,
IndexOutput freqOutput,
IndexOutput proxOutput)
public void setSkipData(int doc,
boolean storePayloads,
int payloadLength,
boolean storeOffsets,
int offsetLength)
public void resetSkip()
MultiLevelSkipListWriterresetSkip in class MultiLevelSkipListWriterprotected void writeSkipData(int level,
IndexOutput skipBuffer)
throws IOException
MultiLevelSkipListWriterwriteSkipData in class MultiLevelSkipListWriterlevel - the level skip data shall be writing forskipBuffer - the skip buffer to write toIOExceptionCopyright © 2000–2021 The Apache Software Foundation. All rights reserved.