public abstract class MultiLevelSkipListReader extends Object implements 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 IOException
IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic void init(long skipPointer,
int df)
Copyright © 2010 - 2020 Adobe. All Rights Reserved