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

Singleton class holding Schema objects for pseudo tables. More...

#include <PseudoTables.h>

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

Public Types

enum  ColumnFamilyCode { CELLSTORE_INDEX_SIZE = 1, CELLSTORE_INDEX_COMPRESSED_SIZE = 2, CELLSTORE_INDEX_KEY_COUNT = 3 }
 Enumeration for pseudo table column family codes. More...
 

Static Public Member Functions

static PseudoTablesinstance ()
 Creates and/or returns singleton instance of the PseudoTables class. More...
 
static void destroy ()
 Destroys singleton instance of the PseudoTables class. More...
 

Public Attributes

Schemacellstore_index
 Schema of cellstore.index pseudo table. More...
 

Private Member Functions

 PseudoTables ()
 Constructor (private). More...
 
 ~PseudoTables ()
 Destructor (private). More...
 

Static Private Attributes

static PseudoTablesms_instance = 0
 Pointer to singleton instance of this class. More...
 
static std::mutex ms_mutex
 Mutex for serializing access to ms_instance. More...
 

Detailed Description

Singleton class holding Schema objects for pseudo tables.

Definition at line 43 of file PseudoTables.h.

Constructor & Destructor Documentation

PseudoTables::PseudoTables ( )
private

Constructor (private).

Definition at line 61 of file PseudoTables.cc.

PseudoTables::~PseudoTables ( )
private

Destructor (private).

Definition at line 65 of file PseudoTables.cc.

Member Function Documentation

static void Hypertable::PseudoTables::destroy ( )
inlinestatic

Destroys singleton instance of the PseudoTables class.

Definition at line 75 of file PseudoTables.h.

static PseudoTables* Hypertable::PseudoTables::instance ( )
inlinestatic

Creates and/or returns singleton instance of the PseudoTables class.

This method will construct a new instance of the PseudoTables class if it has not already been created. All calls to this method return a pointer to the same singleton instance of the PseudoTables object between calls to destroy.

Definition at line 64 of file PseudoTables.h.

Member Data Documentation

Schema* Hypertable::PseudoTables::cellstore_index

Schema of cellstore.index pseudo table.

Definition at line 83 of file PseudoTables.h.

PseudoTables * PseudoTables::ms_instance = 0
staticprivate

Pointer to singleton instance of this class.

Definition at line 94 of file PseudoTables.h.

mutex PseudoTables::ms_mutex
staticprivate

Mutex for serializing access to ms_instance.

Definition at line 97 of file PseudoTables.h.


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