xapian-core  2.0.0
Public Member Functions | Private Member Functions | Private Attributes | List of all members
Honey::ValueUpdater Class Reference
+ Collaboration diagram for Honey::ValueUpdater:

Public Member Functions

 ValueUpdater (HoneyPostListTable &table_, Xapian::valueno slot_)
 
 ~ValueUpdater ()
 
void update (Xapian::docid did, const string &value)
 

Private Member Functions

void append_to_stream (Xapian::docid did, const string &value)
 
void write_tag ()
 

Private Attributes

HoneyPostListTabletable
 
Xapian::valueno slot
 
string ctag
 
ValueChunkReader reader
 
string tag
 
Xapian::docid prev_did
 
Xapian::docid last_did
 
Xapian::docid new_last_did
 
Xapian::docid last_allowed_did
 

Detailed Description

Definition at line 168 of file honey_values.cc.

Constructor & Destructor Documentation

◆ ValueUpdater()

Honey::ValueUpdater::ValueUpdater ( HoneyPostListTable table_,
Xapian::valueno  slot_ 
)
inline

Definition at line 212 of file honey_values.cc.

◆ ~ValueUpdater()

Honey::ValueUpdater::~ValueUpdater ( )
inline

Member Function Documentation

◆ append_to_stream()

void Honey::ValueUpdater::append_to_stream ( Xapian::docid  did,
const string &  value 
)
inlineprivate

Definition at line 187 of file honey_values.cc.

References Assert, AssertRel, CHUNK_SIZE_THRESHOLD, pack_string(), and pack_uint().

◆ update()

void Honey::ValueUpdater::update ( Xapian::docid  did,
const string &  value 
)
inline

◆ write_tag()

void Honey::ValueUpdater::write_tag ( )
inlineprivate

Member Data Documentation

◆ ctag

string Honey::ValueUpdater::ctag
private

Definition at line 173 of file honey_values.cc.

◆ last_allowed_did

Xapian::docid Honey::ValueUpdater::last_allowed_did
private

Definition at line 185 of file honey_values.cc.

◆ last_did

Xapian::docid Honey::ValueUpdater::last_did
private

Definition at line 181 of file honey_values.cc.

◆ new_last_did

Xapian::docid Honey::ValueUpdater::new_last_did
private

Definition at line 183 of file honey_values.cc.

◆ prev_did

Xapian::docid Honey::ValueUpdater::prev_did
private

Definition at line 179 of file honey_values.cc.

◆ reader

ValueChunkReader Honey::ValueUpdater::reader
private

Definition at line 175 of file honey_values.cc.

◆ slot

Xapian::valueno Honey::ValueUpdater::slot
private

Definition at line 171 of file honey_values.cc.

◆ table

HoneyPostListTable& Honey::ValueUpdater::table
private

Definition at line 169 of file honey_values.cc.

◆ tag

string Honey::ValueUpdater::tag
private

Definition at line 177 of file honey_values.cc.


The documentation for this class was generated from the following file: