|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.egothor.core.IListShadow
org.egothor.core.IListRemapper
public abstract class IListRemapper
This object remaps the document uid
s to new values in the
inverted list. This action is offered to a barrel that has many removed
documents.
The final inverted list that Remapper generates is a list that would exist if
the barrel did not contain any removed documents and the first document had
uid=0
.
Constructor Summary | |
---|---|
IListRemapper(IListReader orig)
Constructor for the Remapper object. |
Method Summary | |
---|---|
boolean |
next()
Get a next item of an inverted list and remap it. |
abstract boolean |
removed(long uid)
Test whether the specified document has been removed. |
boolean |
skipTo(long uid)
This method is not supported. |
long |
uid()
Identification of the document. |
Methods inherited from class org.egothor.core.IListShadow |
---|
close, getPostings, getTerm, openProx, setSource, weight |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IListRemapper(IListReader orig)
orig
- the IListReader used by this object to read inverted listsMethod Detail |
---|
public boolean skipTo(long uid)
skipTo
in interface IListReader
skipTo
in class IListShadow
uid
- parameter
public long uid()
IListItem
uid
in interface IListItem
uid
in class IListShadow
public boolean next()
next
in interface IListReader
next
in class IListShadow
public abstract boolean removed(long uid)
uid
- the document in question
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |