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::Result Class Reference

#include <Result.h>

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

Public Member Functions

 Result (TableScannerAsync *scanner, ScanCellsPtr &cells)
 
 Result (TableScannerAsync *scanner, int error, const std::string &error_msg)
 
 Result (TableMutatorAsync *)
 
 Result (TableMutatorAsync *, int error, FailedMutations &failed_mutations)
 
bool is_error () const
 
bool is_scan () const
 
bool is_update () const
 
TableScannerAsyncget_scanner ()
 
TableMutatorAsyncget_mutator ()
 
void get_cells (Cells &cells)
 
void get_error (int &error, std::string &m_error_msg)
 
FailedMutationsget_failed_mutations ()
 
void get_failed_cells (Cells &cells)
 
size_t memory_used ()
 

Private Attributes

TableScannerAsyncm_scanner
 
TableMutatorAsyncm_mutator
 
ScanCellsPtr m_cells
 
int m_error
 
std::string m_error_msg
 
bool m_isscan
 
bool m_iserror
 
CellsBuilder m_failed_cells
 
FailedMutations m_failed_mutations
 

Detailed Description

Definition at line 34 of file Result.h.

Constructor & Destructor Documentation

Hypertable::Result::Result ( TableScannerAsync scanner,
ScanCellsPtr cells 
)

Definition at line 28 of file Result.cc.

Hypertable::Result::Result ( TableScannerAsync scanner,
int  error,
const std::string &  error_msg 
)

Definition at line 33 of file Result.cc.

Hypertable::Result::Result ( TableMutatorAsync mutator)

Definition at line 39 of file Result.cc.

Hypertable::Result::Result ( TableMutatorAsync mutator,
int  error,
FailedMutations failed_mutations 
)

Definition at line 43 of file Result.cc.

Member Function Documentation

void Hypertable::Result::get_cells ( Cells cells)

Definition at line 60 of file Result.cc.

void Hypertable::Result::get_error ( int &  error,
std::string &  m_error_msg 
)

Definition at line 68 of file Result.cc.

void Hypertable::Result::get_failed_cells ( Cells cells)

Definition at line 81 of file Result.cc.

FailedMutations & Hypertable::Result::get_failed_mutations ( )

Definition at line 77 of file Result.cc.

TableMutatorAsync * Hypertable::Result::get_mutator ( )

Definition at line 54 of file Result.cc.

TableScannerAsync * Hypertable::Result::get_scanner ( )

Definition at line 48 of file Result.cc.

bool Hypertable::Result::is_error ( ) const
inline

Definition at line 43 of file Result.h.

bool Hypertable::Result::is_scan ( ) const
inline

Definition at line 44 of file Result.h.

bool Hypertable::Result::is_update ( ) const
inline

Definition at line 45 of file Result.h.

size_t Hypertable::Result::memory_used ( )
inline

Definition at line 52 of file Result.h.

Member Data Documentation

ScanCellsPtr Hypertable::Result::m_cells
private

Definition at line 62 of file Result.h.

int Hypertable::Result::m_error
private

Definition at line 63 of file Result.h.

std::string Hypertable::Result::m_error_msg
private

Definition at line 64 of file Result.h.

CellsBuilder Hypertable::Result::m_failed_cells
private

Definition at line 67 of file Result.h.

FailedMutations Hypertable::Result::m_failed_mutations
private

Definition at line 68 of file Result.h.

bool Hypertable::Result::m_iserror
private

Definition at line 66 of file Result.h.

bool Hypertable::Result::m_isscan
private

Definition at line 65 of file Result.h.

TableMutatorAsync* Hypertable::Result::m_mutator
private

Definition at line 61 of file Result.h.

TableScannerAsync* Hypertable::Result::m_scanner
private

Definition at line 60 of file Result.h.


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