#include <IntervalScannerAsync.h>
|
| IntervalScannerAsync (Comm *comm, ApplicationQueueInterfacePtr &app_queue, Table *table, RangeLocatorPtr &range_locator, const ScanSpec &scan_spec, uint32_t timeout_ms, bool current, TableScannerAsync *scanner, int id) |
| Constructs a IntervalScannerAsync object. More...
|
|
virtual | ~IntervalScannerAsync () |
|
bool | abort (bool is_create) |
|
bool | retry_or_abort (bool refresh, bool hard, bool is_create, bool *move_to_next, int last_error) |
|
bool | handle_result (bool *show_results, ScanCellsPtr &cells, EventPtr &event, bool is_create) |
|
bool | set_current (bool *show_results, ScanCellsPtr &cells, bool abort) |
|
bool | has_outstanding_requests () |
|
int64_t | bytes_scanned () |
|
bool | is_destroyed_scanner (bool is_create) |
|
ProfileDataScanner & | profile_data () |
| Returns reference to profile data. More...
|
|
Definition at line 46 of file IntervalScannerAsync.h.
Constructs a IntervalScannerAsync object.
- Parameters
-
comm | pointer to the Comm layer |
app_queue | Application Queue pointer |
table | ponter to the table |
range_locator | smart pointer to range locator |
scan_spec | reference to scan specification object |
timeout_ms | maximum time in milliseconds to allow scanner methods to execute before throwing an exception |
current | is this scanner the current scanner being used |
scanner | pointer to table scanner |
id | scanner id |
Definition at line 47 of file IntervalScannerAsync.cc.
IntervalScannerAsync::~IntervalScannerAsync |
( |
| ) |
|
|
virtual |
bool IntervalScannerAsync::abort |
( |
bool |
is_create | ) |
|
int64_t Hypertable::IntervalScannerAsync::bytes_scanned |
( |
| ) |
|
|
inline |
void IntervalScannerAsync::find_range_and_start_scan |
( |
const char * |
row_key, |
|
|
bool |
hard = false |
|
) |
| |
|
private |
bool IntervalScannerAsync::handle_result |
( |
bool * |
show_results, |
|
|
ScanCellsPtr & |
cells, |
|
|
EventPtr & |
event, |
|
|
bool |
is_create |
|
) |
| |
bool Hypertable::IntervalScannerAsync::has_outstanding_requests |
( |
| ) |
|
|
inline |
void IntervalScannerAsync::init |
( |
const ScanSpec & |
scan_spec | ) |
|
|
private |
bool IntervalScannerAsync::is_destroyed_scanner |
( |
bool |
is_create | ) |
|
void IntervalScannerAsync::load_result |
( |
ScanCellsPtr & |
cells | ) |
|
|
private |
Returns reference to profile data.
- Returns
- Reference to profile data
Definition at line 82 of file IntervalScannerAsync.h.
void IntervalScannerAsync::readahead |
( |
| ) |
|
|
private |
void IntervalScannerAsync::reset_outstanding_status |
( |
bool |
is_create, |
|
|
bool |
reset_timer |
|
) |
| |
|
private |
void IntervalScannerAsync::restart_scan |
( |
bool |
refresh = false | ) |
|
|
private |
bool IntervalScannerAsync::retry_or_abort |
( |
bool |
refresh, |
|
|
bool |
hard, |
|
|
bool |
is_create, |
|
|
bool * |
move_to_next, |
|
|
int |
last_error |
|
) |
| |
bool IntervalScannerAsync::set_current |
( |
bool * |
show_results, |
|
|
ScanCellsPtr & |
cells, |
|
|
bool |
abort |
|
) |
| |
void IntervalScannerAsync::set_result |
( |
EventPtr & |
event, |
|
|
ScanCellsPtr & |
cells, |
|
|
bool |
is_create = false |
|
) |
| |
|
private |
int64_t Hypertable::IntervalScannerAsync::m_bytes_scanned |
|
private |
EventPtr Hypertable::IntervalScannerAsync::m_create_event |
|
private |
bool Hypertable::IntervalScannerAsync::m_create_event_saved |
|
private |
bool Hypertable::IntervalScannerAsync::m_create_outstanding |
|
private |
std::string Hypertable::IntervalScannerAsync::m_create_scanner_row |
|
private |
Timer Hypertable::IntervalScannerAsync::m_create_timer |
|
private |
bool Hypertable::IntervalScannerAsync::m_cur_scanner_finished |
|
private |
int Hypertable::IntervalScannerAsync::m_cur_scanner_id |
|
private |
bool Hypertable::IntervalScannerAsync::m_current |
|
private |
bool Hypertable::IntervalScannerAsync::m_defer_readahead {} |
|
private |
bool Hypertable::IntervalScannerAsync::m_end_inclusive |
|
private |
std::string Hypertable::IntervalScannerAsync::m_end_row |
|
private |
bool Hypertable::IntervalScannerAsync::m_eos |
|
private |
bool Hypertable::IntervalScannerAsync::m_fetch_outstanding |
|
private |
Timer Hypertable::IntervalScannerAsync::m_fetch_timer |
|
private |
bool Hypertable::IntervalScannerAsync::m_invalid_scanner_id_ok |
|
private |
Key Hypertable::IntervalScannerAsync::m_last_key |
|
private |
CstrSet Hypertable::IntervalScannerAsync::m_rowset |
|
private |
SchemaPtr Hypertable::IntervalScannerAsync::m_schema |
|
private |
std::string Hypertable::IntervalScannerAsync::m_start_row |
|
private |
int Hypertable::IntervalScannerAsync::m_state |
|
private |
Table* Hypertable::IntervalScannerAsync::m_table |
|
private |
uint32_t Hypertable::IntervalScannerAsync::m_timeout_ms |
|
private |
The documentation for this class was generated from the following files: