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