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

#include <TableDumper.h>

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

Public Member Functions

 TableDumper (NamespacePtr &ns, const std::string &name, ScanSpec &scan_spec, size_t target_node_count=20)
 Constructs a TableDumper object. More...
 
bool next (Cell &cell)
 Get the next cell. More...
 

Private Attributes

ScanSpec m_scan_spec
 
TableSplitsContainer m_splits
 
TablePtr m_table
 
std::vector< uint32_t > m_ordering
 
uint32_t m_next
 
std::list< TableScannerPtrm_scanners
 
std::list< TableScannerPtr >
::iterator 
m_scanner_iter
 
bool m_eod
 

Detailed Description

Definition at line 34 of file TableDumper.h.

Constructor & Destructor Documentation

TableDumper::TableDumper ( NamespacePtr ns,
const std::string &  name,
ScanSpec scan_spec,
size_t  target_node_count = 20 
)

Constructs a TableDumper object.

Parameters
nspointer to namespace object
nametable name
scan_specscan specification
target_node_counttarget node count

Definition at line 41 of file TableDumper.cc.

Member Function Documentation

bool TableDumper::next ( Cell cell)

Get the next cell.

Parameters
cellThe cell object to contain the result
Returns
true for success

Definition at line 83 of file TableDumper.cc.

Member Data Documentation

bool Hypertable::TableDumper::m_eod
private

Definition at line 64 of file TableDumper.h.

uint32_t Hypertable::TableDumper::m_next
private

Definition at line 61 of file TableDumper.h.

std::vector<uint32_t> Hypertable::TableDumper::m_ordering
private

Definition at line 60 of file TableDumper.h.

ScanSpec Hypertable::TableDumper::m_scan_spec
private

Definition at line 57 of file TableDumper.h.

std::list<TableScannerPtr>::iterator Hypertable::TableDumper::m_scanner_iter
private

Definition at line 63 of file TableDumper.h.

std::list<TableScannerPtr> Hypertable::TableDumper::m_scanners
private

Definition at line 62 of file TableDumper.h.

TableSplitsContainer Hypertable::TableDumper::m_splits
private

Definition at line 58 of file TableDumper.h.

TablePtr Hypertable::TableDumper::m_table
private

Definition at line 59 of file TableDumper.h.


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