22 #ifndef Hypertable_Lib_TableScanner_h
23 #define Hypertable_Lib_TableScanner_h
51 const ScanSpec &scan_spec, uint32_t timeout_ms);
63 std::string error_msg;
65 m_queue->next_result(cells, &error, error_msg);
92 m_scanner->get_profile_data(profile_data);
108 void scan_error(
int error,
const std::string &error_msg);
133 #endif // Hypertable_Lib_TableScanner_h
std::shared_ptr< TableScannerQueue > TableScannerQueuePtr
Shared smart pointer to TableScannerQueue.
TableScannerAsyncPtr m_scanner
std::shared_ptr< TableScannerAsync > TableScannerAsyncPtr
Smart pointer to TableScannerAsync.
ProfileDataScanner m_profile_data
std::shared_ptr< RangeLocator > RangeLocatorPtr
Smart pointer to RangeLocator.
virtual ~TableScanner()
Destructor.
TableScannerQueuePtr m_queue
std::shared_ptr< TableScanner > TableScannerPtr
Smart pointer to TableScanner.
void unget(const Cell &cell)
Ungets one cell.
Scan predicate and control specification.
Represents an open table.
Represents an open table.
std::shared_ptr< ScanCells > ScanCellsPtr
Smart pointer to ScanCells.
bool next(Cell &cell)
Gets the next cell.
Declarations for ClientObject.
Synchronous table scanner.
Base class for Hypertable client objects.
void copy(TableDumper &, CellsBuilder &)
Entry point to AsyncComm service.
TableScanner(Comm *comm, Table *table, RangeLocatorPtr &range_locator, const ScanSpec &scan_spec, uint32_t timeout_ms)
Constructor.
void get_profile_data(ProfileDataScanner &profile_data)
Gets profile data.
This is a generic exception class for Hypertable.
Encapsulates decomposed key and value.
void scan_error(int error, const std::string &error_msg)
Callback for scan errors.
void scan_ok(ScanCellsPtr &cells)
Callback for successful scan.