Public Types | |
typedef HqlInterpreter::Callback | Parent |
Public Member Functions | |
HqlCallback (ResultT &r, ServerHandler *handler, const ThriftGen::Namespace ns, const String &hql, bool flush, bool buffered) | |
void | on_return (const std::string &) override |
Called when interpreter returns a string result Maybe called multiple times for a list of string results. More... | |
void | on_scan (TableScannerPtr &) override |
Called when interpreter is ready to scan. More... | |
void | on_finish (TableMutatorPtr &) override |
Called when interpreter is finished Note: mutator pointer maybe NULL in case of things like LOAD DATA ... More... | |
Public Member Functions inherited from Hypertable::HqlInterpreter::Callback | |
Callback (bool normal=true) | |
virtual | ~Callback () |
virtual void | on_parsed (Hql::ParserState &) |
Called when the hql string is parsed successfully. More... | |
virtual void | on_dump (TableDumper &) |
Called when interpreter is ready to dump. More... | |
virtual void | on_update (size_t total) |
Called when interpreter is ready to update. More... | |
virtual void | on_progress (size_t amount) |
Called when interpreter updates progress for long running queries. More... | |
virtual void | on_finish () |
virtual void | on_finish (TableScannerPtr &scanner) |
Called when scan is finished. More... | |
Public Attributes | |
ResultT & | result |
ServerHandler & | handler |
ProfileDataScanner | profile_data |
int64_t | ns {} |
string | hql |
bool | flush |
bool | buffered |
bool | is_scan {} |
Public Attributes inherited from Hypertable::HqlInterpreter::Callback | |
FILE * | output |
bool | normal_mode |
bool | format_ts_in_nanos |
uint64_t | total_cells |
uint64_t | total_keys_size |
uint64_t | total_values_size |
uint64_t | file_size |
Definition at line 894 of file ThriftBroker.cc.
typedef HqlInterpreter::Callback Hypertable::ThriftBroker::HqlCallback< ResultT, CellT >::Parent |
Definition at line 895 of file ThriftBroker.cc.
|
inline |
Definition at line 905 of file ThriftBroker.cc.
|
overridevirtual |
Called when interpreter is finished Note: mutator pointer maybe NULL in case of things like LOAD DATA ...
INTO file
Reimplemented from Hypertable::HqlInterpreter::Callback.
Definition at line 3044 of file ThriftBroker.cc.
|
overridevirtual |
Called when interpreter returns a string result Maybe called multiple times for a list of string results.
Reimplemented from Hypertable::HqlInterpreter::Callback.
Definition at line 3013 of file ThriftBroker.cc.
|
overridevirtual |
Called when interpreter is ready to scan.
Reimplemented from Hypertable::HqlInterpreter::Callback.
Definition at line 3019 of file ThriftBroker.cc.
bool Hypertable::ThriftBroker::HqlCallback< ResultT, CellT >::buffered |
Definition at line 902 of file ThriftBroker.cc.
bool Hypertable::ThriftBroker::HqlCallback< ResultT, CellT >::flush |
Definition at line 902 of file ThriftBroker.cc.
ServerHandler& Hypertable::ThriftBroker::HqlCallback< ResultT, CellT >::handler |
Definition at line 898 of file ThriftBroker.cc.
string Hypertable::ThriftBroker::HqlCallback< ResultT, CellT >::hql |
Definition at line 901 of file ThriftBroker.cc.
bool Hypertable::ThriftBroker::HqlCallback< ResultT, CellT >::is_scan {} |
Definition at line 903 of file ThriftBroker.cc.
int64_t Hypertable::ThriftBroker::HqlCallback< ResultT, CellT >::ns {} |
Definition at line 900 of file ThriftBroker.cc.
ProfileDataScanner Hypertable::ThriftBroker::HqlCallback< ResultT, CellT >::profile_data |
Definition at line 899 of file ThriftBroker.cc.
ResultT& Hypertable::ThriftBroker::HqlCallback< ResultT, CellT >::result |
Definition at line 897 of file ThriftBroker.cc.