it.unimi.dsi.mg4j.search
Class AndDocumentIterator
java.lang.Object
it.unimi.dsi.fastutil.ints.AbstractIntIterator
it.unimi.dsi.mg4j.search.AbstractIntersectionDocumentIterator
it.unimi.dsi.mg4j.search.AndDocumentIterator
- All Implemented Interfaces:
- DocumentIterator, IntIterator, Iterator
- public class AndDocumentIterator
- extends AbstractIntersectionDocumentIterator
An iterator on documents that returns the AND of a number of document iterators.
This class adds to AbstractIntersectionDocumentIterator
an interval interator generating the AND of the intervals returned for each of the documents involved.
Methods inherited from class it.unimi.dsi.mg4j.search.AbstractIntersectionDocumentIterator |
document, hasNext, indices, intervalIterator, intervalIterator, intervalIterators, invalidate, nextDocument, nextInt, skipTo, toString |
Methods inherited from interface it.unimi.dsi.fastutil.ints.IntIterator |
skip |
AndDocumentIterator
public AndDocumentIterator(DocumentIterator[] it)
getComposedIntervalIterator
protected IntervalIterator getComposedIntervalIterator(Index index)
- Specified by:
getComposedIntervalIterator
in class AbstractIntersectionDocumentIterator