21 #ifndef XAPIAN_INCLUDED_CHERT_VALUELIST_H
22 #define XAPIAN_INCLUDED_CHERT_VALUELIST_H
A cursor pointing to a position in a Btree table, for reading several entries in order,...
A backend designed for efficient indexing and retrieval, using compressed posting lists and a btree s...
Chert class for value streams.
Xapian::docid get_docid() const
Return the docid at the current position.
void skip_to(Xapian::docid)
Skip forward to the specified docid.
std::string get_description() const
Return a string description of this object.
Xapian::valueno get_valueno() const
Return the value slot for the current position/this iterator.
ChertValueList(Xapian::valueno slot_, Xapian::Internal::intrusive_ptr< const ChertDatabase > db_)
Xapian::Internal::intrusive_ptr< const ChertDatabase > db
bool at_end() const
Return true if the current position is past the last entry in this list.
std::string get_value() const
Return the value at the current position.
void operator=(const ChertValueList &)
Don't allow assignment.
void next()
Advance the current position to the next document in the value stream.
ChertValueList(const ChertValueList &)
Don't allow copying.
bool update_reader()
Update reader to use the chunk currently pointed to by cursor.
bool check(Xapian::docid did)
Check if the specified docid occurs in this valuestream.
Abstract base class for value streams.
unsigned valueno
The number for a value slot in a document.
unsigned XAPIAN_DOCID_BASE_TYPE docid
A unique identifier for a document.
Abstract base class for value streams.