strus
0.17
|
Structure that represents relations of position info index ranges (directed graph) per document. More...
#include <structIteratorInterface.hpp>
Public Member Functions | |
virtual | ~StructIteratorInterface () |
Destructor. More... | |
virtual Index | skipDoc (const Index &docno)=0 |
Return the next document match with a document number higher than or equal to a given document number. More... | |
virtual IndexRange | skipPosSource (const Index &firstpos)=0 |
Return the first matching source index range with a end position higher than firstpos in the current document or {0,0}. The current document is the one returned with the last 'skipDoc( const Index&)' call. More... | |
virtual IndexRange | skipPosSink (const Index &firstpos)=0 |
Return the first matching sink index range attached to the current source index range with a end position higher than firstpos in the current document or {0,0}. The current source index range is the one returned with the last 'skipPosSource( const Index&)' call. More... | |
virtual IndexRange | source () const =0 |
Return the last source index range retrieved with 'skipPosSource( const Index&)' withut calling 'skipDoc( const Index&)' thereafter. More... | |
virtual IndexRange | sink () const =0 |
Return the last source index range retrieved with 'skipPosSink( const Index&)' withut calling 'skipPosSource( const Index&)' thereafter. More... | |
Structure that represents relations of position info index ranges (directed graph) per document.
|
inlinevirtual |
Destructor.
|
pure virtual |
Return the last source index range retrieved with 'skipPosSink( const Index&)' withut calling 'skipPosSource( const Index&)' thereafter.
Return the next document match with a document number higher than or equal to a given document number.
[in] | docno | the minimum document number to fetch |
|
pure virtual |
Return the first matching sink index range attached to the current source index range with a end position higher than firstpos in the current document or {0,0}. The current source index range is the one returned with the last 'skipPosSource( const Index&)' call.
[in] | firstpos | the minimum position to fetch |
|
pure virtual |
Return the first matching source index range with a end position higher than firstpos in the current document or {0,0}. The current document is the one returned with the last 'skipDoc( const Index&)' call.
[in] | firstpos | the minimum position to fetch |
|
pure virtual |
Return the last source index range retrieved with 'skipPosSource( const Index&)' withut calling 'skipDoc( const Index&)' thereafter.