public class PreFlexRWSkipListWriter extends MultiLevelSkipListWriter
numberOfSkipLevels
Constructor and Description |
---|
PreFlexRWSkipListWriter(int skipInterval,
int numberOfSkipLevels,
int docCount,
IndexOutput freqOutput,
IndexOutput proxOutput) |
Modifier and Type | Method and Description |
---|---|
void |
resetSkip()
Creates new buffers or empties the existing ones
|
void |
setSkipData(int doc,
boolean storePayloads,
int payloadLength)
Sets the values for the current skip data.
|
protected void |
writeSkipData(int level,
IndexOutput skipBuffer)
Subclasses must implement the actual skip data encoding in this method.
|
bufferSkip, init, writeSkip
public PreFlexRWSkipListWriter(int skipInterval, int numberOfSkipLevels, int docCount, IndexOutput freqOutput, IndexOutput proxOutput)
public void setSkipData(int doc, boolean storePayloads, int payloadLength)
public void resetSkip()
MultiLevelSkipListWriter
resetSkip
in class MultiLevelSkipListWriter
protected void writeSkipData(int level, IndexOutput skipBuffer) throws IOException
MultiLevelSkipListWriter
writeSkipData
in class MultiLevelSkipListWriter
level
- the level skip data shall be writing forskipBuffer
- the skip buffer to write toIOException
Copyright © 2000–2022 The Apache Software Foundation. All rights reserved.