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

Helper class for building a KeySpec. More...

#include <KeySpec.h>

Inheritance diagram for Hypertable::KeySpecBuilder:
Inheritance graph
[legend]
Collaboration diagram for Hypertable::KeySpecBuilder:
Collaboration graph
[legend]

Public Member Functions

void set_row (const std::string &row)
 
void set_column_family (const std::string &cf)
 
void set_column_qualifier (const std::string &cq)
 
void set_timestamp (int64_t timestamp)
 
void set_flag (uint8_t flag_)
 
void clear ()
 Clears the state. More...
 
KeySpecget ()
 Returns the built KeySpec object. More...
 

Private Attributes

std::vector< Stringm_strings
 
KeySpec m_key_spec
 

Detailed Description

Helper class for building a KeySpec.

This class manages the allocation of all string members.

Definition at line 142 of file KeySpec.h.

Member Function Documentation

void Hypertable::KeySpecBuilder::clear ( )
inline

Clears the state.

Definition at line 173 of file KeySpec.h.

KeySpec& Hypertable::KeySpecBuilder::get ( )
inline

Returns the built KeySpec object.

Returns
reference to built KeySpec object

Definition at line 183 of file KeySpec.h.

void Hypertable::KeySpecBuilder::set_column_family ( const std::string &  cf)
inline

Definition at line 150 of file KeySpec.h.

void Hypertable::KeySpecBuilder::set_column_qualifier ( const std::string &  cq)
inline

Definition at line 155 of file KeySpec.h.

void Hypertable::KeySpecBuilder::set_flag ( uint8_t  flag_)
inline

Definition at line 165 of file KeySpec.h.

void Hypertable::KeySpecBuilder::set_row ( const std::string &  row)
inline

Definition at line 144 of file KeySpec.h.

void Hypertable::KeySpecBuilder::set_timestamp ( int64_t  timestamp)
inline

Definition at line 161 of file KeySpec.h.

Member Data Documentation

KeySpec Hypertable::KeySpecBuilder::m_key_spec
private

Definition at line 187 of file KeySpec.h.

std::vector<String> Hypertable::KeySpecBuilder::m_strings
private

Definition at line 186 of file KeySpec.h.


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