0.9.8.10
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Static Public Member Functions | Private Types | Static Private Member Functions | Static Private Attributes | List of all members
Hypertable::IndexUpdaterFactory Class Reference

Factory class for creating IndexUpdater objects. More...

#include <IndexUpdater.h>

Collaboration diagram for Hypertable::IndexUpdaterFactory:
Collaboration graph
[legend]

Static Public Member Functions

static IndexUpdaterPtr create (const String &table_id, SchemaPtr &schema, bool has_index, bool has_qualifier_index)
 Factory function. More...
 
static void close ()
 Cleanup function; called before leaving main() More...
 
static void clear_cache ()
 Clears both value and qualifier caches. More...
 

Private Types

typedef std::map< String,
TablePtr
TableMap
 

Static Private Member Functions

static TablePtr load_table (const String &table_name)
 

Static Private Attributes

static std::mutex ms_mutex
 
static NameIdMapperPtr ms_namemap
 
static TableMap ms_qualifier_index_cache
 
static TableMap ms_index_cache
 

Detailed Description

Factory class for creating IndexUpdater objects.

Definition at line 90 of file IndexUpdater.h.

Member Typedef Documentation

Definition at line 106 of file IndexUpdater.h.

Member Function Documentation

void Hypertable::IndexUpdaterFactory::clear_cache ( )
static

Clears both value and qualifier caches.

Definition at line 196 of file IndexUpdater.cc.

void Hypertable::IndexUpdaterFactory::close ( )
static

Cleanup function; called before leaving main()

Definition at line 186 of file IndexUpdater.cc.

IndexUpdaterPtr Hypertable::IndexUpdaterFactory::create ( const String table_id,
SchemaPtr schema,
bool  has_index,
bool  has_qualifier_index 
)
static

Factory function.

Definition at line 125 of file IndexUpdater.cc.

TablePtr Hypertable::IndexUpdaterFactory::load_table ( const String table_name)
staticprivate

Definition at line 202 of file IndexUpdater.cc.

Member Data Documentation

IndexUpdaterFactory::TableMap Hypertable::IndexUpdaterFactory::ms_index_cache
staticprivate

Definition at line 111 of file IndexUpdater.h.

mutex Hypertable::IndexUpdaterFactory::ms_mutex
staticprivate

Definition at line 108 of file IndexUpdater.h.

NameIdMapperPtr Hypertable::IndexUpdaterFactory::ms_namemap
staticprivate

Definition at line 109 of file IndexUpdater.h.

IndexUpdaterFactory::TableMap Hypertable::IndexUpdaterFactory::ms_qualifier_index_cache
staticprivate

Definition at line 110 of file IndexUpdater.h.


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