Singleton class holding Schema objects for pseudo tables. More...
#include <PseudoTables.h>
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 PseudoTables * | instance () |
Creates and/or returns singleton instance of the PseudoTables class. More... | |
static void | destroy () |
Destroys singleton instance of the PseudoTables class. More... | |
Public Attributes | |
Schema * | cellstore_index |
Schema of cellstore.index pseudo table. More... | |
Private Member Functions | |
PseudoTables () | |
Constructor (private). More... | |
~PseudoTables () | |
Destructor (private). More... | |
Static Private Attributes | |
static PseudoTables * | ms_instance = 0 |
Pointer to singleton instance of this class. More... | |
static std::mutex | ms_mutex |
Mutex for serializing access to ms_instance. More... | |
Singleton class holding Schema objects for pseudo tables.
Definition at line 43 of file PseudoTables.h.
|
private |
Constructor (private).
Definition at line 61 of file PseudoTables.cc.
|
private |
Destructor (private).
Definition at line 65 of file PseudoTables.cc.
|
inlinestatic |
Destroys singleton instance of the PseudoTables class.
Definition at line 75 of file PseudoTables.h.
|
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.
Schema* Hypertable::PseudoTables::cellstore_index |
Schema of cellstore.index pseudo table.
Definition at line 83 of file PseudoTables.h.
|
staticprivate |
Pointer to singleton instance of this class.
Definition at line 94 of file PseudoTables.h.
|
staticprivate |
Mutex for serializing access to ms_instance.
Definition at line 97 of file PseudoTables.h.