22 #ifndef Hypertable_Lib_intervalScannerAsync_h
23 #define Hypertable_Lib_intervalScannerAsync_h
65 const ScanSpec &scan_spec, uint32_t timeout_ms,
70 bool abort(
bool is_create);
72 bool retry_or_abort(
bool refresh,
bool hard,
bool is_create,
73 bool *move_to_next,
int last_error);
75 bool set_current(
bool *show_results,
ScanCellsPtr &cells,
bool abort);
78 bool is_destroyed_scanner(
bool is_create);
85 void reset_outstanding_status(
bool is_create,
bool reset_timer);
88 void find_range_and_start_scan(
const char *row_key,
bool hard=
false);
92 void restart_scan(
bool refresh=
false);
129 bool m_defer_readahead {};
137 #endif // Hypertable_Lib_intervalScannerAsync_h
bool m_invalid_scanner_id_ok
ScanLimitState m_scan_limit_state
std::shared_ptr< RangeLocator > RangeLocatorPtr
Smart pointer to RangeLocator.
Asynchronous table scanner.
bool m_create_event_saved
void init(int argc, char *argv[], const Desc *desc=NULL)
Initialize with default policy.
RangeLocationInfo m_next_range_info
Declarations for TableIdentifier and TableIdentifierManaged.
ProfileDataScanner m_profile_data
Accumulated profile data.
Program options handling.
Holds range start and end row plus location.
std::shared_ptr< Event > EventPtr
Smart pointer to Event.
TableIdentifierManaged m_table_identifier
std::shared_ptr< IntervalScannerAsync > IntervalScannerAsyncPtr
Smart pointer to IntervalScannerAsync.
Declarations for RangeServerClient.
A dynamic, resizable and reference counted memory buffer.
bool m_create_outstanding
DynamicBuffer m_last_key_buf
std::shared_ptr< LocationCache > LocationCachePtr
Smart pointer to LocationCache.
bool m_cur_scanner_finished
Wrapper for TableIdentifier providing member storage.
Scan predicate and control specification.
Represents an open table.
std::shared_ptr< ScanCells > ScanCellsPtr
Smart pointer to ScanCells.
std::set< const char *, LtCstr > CstrSet
STL Set managing c-style strings.
Declarations for ProfileDataScanner.
Lib::RangeServer::Client m_range_server
LocationCachePtr m_loc_cache
bool has_outstanding_requests()
std::shared_ptr< ApplicationQueueInterface > ApplicationQueueInterfacePtr
Smart pointer to ApplicationQueueInterface.
Helper class for building a ScanSpec.
RangeLocationInfo m_range_info
Entry point to AsyncComm service.
Tracks row and cell limits used to enforce scan limit predicates.
Provides access to internal components of opaque key.
Client interface to RangeServer.
RangeLocatorPtr m_range_locator
TableScannerDispatchHandler m_fetch_handler
A timer class to keep timeout states across AsyncComm related calls.
Declarations for ScanBlock.
ProfileDataScanner & profile_data()
Returns reference to profile data.
TableScannerDispatchHandler m_create_handler
std::shared_ptr< Schema > SchemaPtr
Smart pointer to Schema.
String extensions and helpers: sets, maps, append operators etc.
ScanSpecBuilder m_scan_spec_builder
std::string m_create_scanner_row