public abstract class MultiLevelSkipListReader
extends java.lang.Object
implements java.io.Closeable
MultiLevelSkipListWriter for the information about the encoding
of the multi level skip lists.
Subclasses must implement the abstract method readSkipData(int, IndexInput)
which defines the actual format of the skip data.| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
getDoc()
Returns the id of the doc to which the last call of
skipTo(int)
has skipped. |
void |
init(long skipPointer,
int df)
Initializes the reader, for reuse on a new term.
|
int |
skipTo(int target)
Skips entries to the first beyond the current whose document number is
greater than or equal to target.
|
public int getDoc()
skipTo(int)
has skipped.public int skipTo(int target)
throws java.io.IOException
java.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablejava.io.IOExceptionpublic void init(long skipPointer,
int df)
Copyright © 2010 - 2024 Adobe. All Rights Reserved