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

Public Member Functions

 ValueUpdater (GlassPostListTable *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

GlassPostListTabletable
 
Xapian::valueno slot
 
string ctag
 
ValueChunkReader reader
 
string tag
 
Xapian::docid prev_did
 
Xapian::docid first_did
 
Xapian::docid new_first_did
 
Xapian::docid last_allowed_did
 

Detailed Description

Definition at line 196 of file glass_values.cc.

Constructor & Destructor Documentation

◆ ValueUpdater()

Glass::ValueUpdater::ValueUpdater ( GlassPostListTable table_,
Xapian::valueno  slot_ 
)
inline

Definition at line 241 of file glass_values.cc.

◆ ~ValueUpdater()

Glass::ValueUpdater::~ValueUpdater ( )
inline

Member Function Documentation

◆ append_to_stream()

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

Definition at line 215 of file glass_values.cc.

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

◆ update()

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

◆ write_tag()

void Glass::ValueUpdater::write_tag ( )
inlineprivate

Member Data Documentation

◆ ctag

string Glass::ValueUpdater::ctag
private

Definition at line 201 of file glass_values.cc.

◆ first_did

Xapian::docid Glass::ValueUpdater::first_did
private

Definition at line 209 of file glass_values.cc.

◆ last_allowed_did

Xapian::docid Glass::ValueUpdater::last_allowed_did
private

Definition at line 213 of file glass_values.cc.

◆ new_first_did

Xapian::docid Glass::ValueUpdater::new_first_did
private

Definition at line 211 of file glass_values.cc.

◆ prev_did

Xapian::docid Glass::ValueUpdater::prev_did
private

Definition at line 207 of file glass_values.cc.

◆ reader

ValueChunkReader Glass::ValueUpdater::reader
private

Definition at line 203 of file glass_values.cc.

◆ slot

Xapian::valueno Glass::ValueUpdater::slot
private

Definition at line 199 of file glass_values.cc.

◆ table

GlassPostListTable* Glass::ValueUpdater::table
private

Definition at line 197 of file glass_values.cc.

◆ tag

string Glass::ValueUpdater::tag
private

Definition at line 205 of file glass_values.cc.


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