org.apache.lucene.codecs.lucene3x
Class PreFlexRWSkipListWriter
java.lang.Object
org.apache.lucene.codecs.MultiLevelSkipListWriter
org.apache.lucene.codecs.lucene3x.PreFlexRWSkipListWriter
public class PreFlexRWSkipListWriter
- extends MultiLevelSkipListWriter
PreFlexRW skiplist implementation.
- WARNING: This API is experimental and might change in incompatible ways in the next release.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PreFlexRWSkipListWriter
public PreFlexRWSkipListWriter(int skipInterval,
int numberOfSkipLevels,
int docCount,
IndexOutput freqOutput,
IndexOutput proxOutput)
setSkipData
public void setSkipData(int doc,
boolean storePayloads,
int payloadLength)
- Sets the values for the current skip data.
resetSkip
public void resetSkip()
- Overrides:
resetSkip
in class MultiLevelSkipListWriter
writeSkipData
protected void writeSkipData(int level,
IndexOutput skipBuffer)
throws IOException
- Specified by:
writeSkipData
in class MultiLevelSkipListWriter
- Throws:
IOException
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.