21 #ifndef XAPIAN_INCLUDED_GLASS_VALUELIST_H
22 #define XAPIAN_INCLUDED_GLASS_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...
Glass class for value streams.
void skip_to(Xapian::docid)
Skip forward to the specified docid.
bool update_reader()
Update reader to use the chunk currently pointed to by cursor.
void operator=(const GlassValueList &)
Don't allow assignment.
GlassValueList(const GlassValueList &)
Don't allow copying.
Glass::ValueChunkReader reader
std::string get_description() const
Return a string description of this object.
Xapian::docid get_docid() const
Return the docid at the current position.
bool at_end() const
Return true if the current position is past the last entry in this list.
bool check(Xapian::docid did)
Check if the specified docid occurs in this valuestream.
void next()
Advance the current position to the next document in the value stream.
Xapian::valueno get_valueno() const
Return the value slot for the current position/this iterator.
std::string get_value() const
Return the value at the current position.
GlassValueList(Xapian::valueno slot_, Xapian::Internal::intrusive_ptr< const GlassDatabase > db_)
Xapian::Internal::intrusive_ptr< const GlassDatabase > db
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.