Brass Namespace Reference


Classes

class  Cursor
class  PostlistChunkWriter
 PostlistChunkWriter is a wrapper which acts roughly as an output iterator on a postlist chunk, taking care of the messy details. More...
class  PostlistChunkReader
 PostlistChunkReader is essentially an iterator wrapper around a postlist chunk. More...
struct  fragment
class  Key
class  Item_base
class  Item
class  Item_wr
class  ValueUpdater
class  ValueChunkReader

Functions

std::string make_valuechunk_key (Xapian::valueno slot, Xapian::docid did)
 Generate a key for a value stream chunk.
Xapian::docid docid_from_key (Xapian::valueno required_slot, const std::string &key)

Function Documentation

Xapian::docid Brass::docid_from_key ( Xapian::valueno  required_slot,
const std::string &  key 
) [inline]

Definition at line 47 of file brass_values.h.

References unpack_uint(), and unpack_uint_preserving_sort().

Referenced by Brass::ValueUpdater::update().

std::string Brass::make_valuechunk_key ( Xapian::valueno  slot,
Xapian::docid  did 
) [inline]

Generate a key for a value stream chunk.

Definition at line 38 of file brass_values.h.

References pack_uint(), and pack_uint_preserving_sort().

Referenced by Brass::ValueUpdater::update(), and Brass::ValueUpdater::write_tag().


Documentation for Xapian (version 1.2.9).
Generated on 10 May 2012 by Doxygen 1.5.9.