|
| ServerHandler (const String &remote_peer, Context &c) |
|
virtual | ~ServerHandler () |
|
const String & | remote_peer () const |
|
void | log_slow_query (const char *func_name, std::chrono::fast_clock::time_point start_time, std::chrono::fast_clock::time_point end_time, int64_t latency_ms, ProfileDataScanner &profile_data, Hypertable::Namespace *ns, const string &hql) |
|
void | log_slow_query_scanspec (const char *func_name, std::chrono::fast_clock::time_point start_time, std::chrono::fast_clock::time_point end_time, int64_t latency_ms, ProfileDataScanner &profile_data, Hypertable::Namespace *ns, const string &table, Hypertable::ScanSpec &ss) |
|
void | hql_exec (HqlResult &result, const ThriftGen::Namespace ns, const String &hql, bool noflush, bool unbuffered) override |
|
void | hql_query (HqlResult &result, const ThriftGen::Namespace ns, const String &hql) override |
|
void | hql_exec2 (HqlResult2 &result, const ThriftGen::Namespace ns, const String &hql, bool noflush, bool unbuffered) override |
|
void | hql_exec_as_arrays (HqlResultAsArrays &result, const ThriftGen::Namespace ns, const String &hql, bool noflush, bool unbuffered) override |
|
void | hql_query2 (HqlResult2 &result, const ThriftGen::Namespace ns, const String &hql) override |
|
void | hql_query_as_arrays (HqlResultAsArrays &result, const ThriftGen::Namespace ns, const String &hql) override |
|
void | namespace_create (const String &ns) override |
|
void | create_namespace (const String &ns) override |
|
void | table_create (const ThriftGen::Namespace ns, const String &table, const ThriftGen::Schema &schema) override |
|
void | table_alter (const ThriftGen::Namespace ns, const String &table, const ThriftGen::Schema &schema) override |
|
Scanner | scanner_open (const ThriftGen::Namespace ns, const String &table, const ThriftGen::ScanSpec &ss) override |
|
Scanner | open_scanner (const ThriftGen::Namespace ns, const String &table, const ThriftGen::ScanSpec &ss) override |
|
ScannerAsync | async_scanner_open (const ThriftGen::Namespace ns, const String &table, const ThriftGen::Future ff, const ThriftGen::ScanSpec &ss) override |
|
ScannerAsync | open_scanner_async (const ThriftGen::Namespace ns, const String &table, const ThriftGen::Future ff, const ThriftGen::ScanSpec &ss) override |
|
void | namespace_close (const ThriftGen::Namespace ns) override |
|
void | close_namespace (const ThriftGen::Namespace ns) override |
|
void | refresh_table (const ThriftGen::Namespace ns, const String &table_name) override |
|
void | scanner_close (const Scanner id) override |
|
void | close_scanner (const Scanner scanner) override |
|
void | async_scanner_cancel (const ScannerAsync scanner) override |
|
void | cancel_scanner_async (const ScannerAsync scanner) override |
|
void | async_scanner_close (const ScannerAsync scanner_async) override |
|
void | close_scanner_async (const ScannerAsync scanner_async) override |
|
void | scanner_get_cells (ThriftCells &result, const Scanner scanner_id) override |
|
void | next_cells (ThriftCells &result, const Scanner scanner_id) override |
|
void | scanner_get_cells_as_arrays (ThriftCellsAsArrays &result, const Scanner scanner_id) override |
|
void | next_cells_as_arrays (ThriftCellsAsArrays &result, const Scanner scanner_id) override |
|
void | scanner_get_cells_serialized (CellsSerialized &result, const Scanner scanner_id) override |
|
void | next_cells_serialized (CellsSerialized &result, const Scanner scanner_id) override |
|
void | scanner_get_row (ThriftCells &result, const Scanner scanner_id) override |
|
void | next_row (ThriftCells &result, const Scanner scanner_id) override |
|
void | scanner_get_row_as_arrays (ThriftCellsAsArrays &result, const Scanner scanner_id) override |
|
void | next_row_as_arrays (ThriftCellsAsArrays &result, const Scanner scanner_id) override |
|
void | scanner_get_row_serialized (CellsSerialized &result, const Scanner scanner_id) override |
|
void | next_row_serialized (CellsSerialized &result, const Scanner scanner_id) override |
|
void | get_row (ThriftCells &result, const ThriftGen::Namespace ns, const String &table, const String &row) override |
|
void | get_row_as_arrays (ThriftCellsAsArrays &result, const ThriftGen::Namespace ns, const String &table, const String &row) override |
|
void | get_row_serialized (CellsSerialized &result, const ThriftGen::Namespace ns, const std::string &table, const std::string &row) override |
|
void | get_cell (Value &result, const ThriftGen::Namespace ns, const String &table, const String &row, const String &column) override |
|
void | get_cells (ThriftCells &result, const ThriftGen::Namespace ns, const String &table, const ThriftGen::ScanSpec &ss) override |
|
void | get_cells_as_arrays (ThriftCellsAsArrays &result, const ThriftGen::Namespace ns, const String &table, const ThriftGen::ScanSpec &ss) override |
|
void | get_cells_serialized (CellsSerialized &result, const ThriftGen::Namespace ns, const String &table, const ThriftGen::ScanSpec &ss) override |
|
void | shared_mutator_set_cells (const ThriftGen::Namespace ns, const String &table, const ThriftGen::MutateSpec &mutate_spec, const ThriftCells &cells) override |
|
void | offer_cells (const ThriftGen::Namespace ns, const String &table, const ThriftGen::MutateSpec &mutate_spec, const ThriftCells &cells) override |
|
void | shared_mutator_set_cell (const ThriftGen::Namespace ns, const String &table, const ThriftGen::MutateSpec &mutate_spec, const ThriftGen::Cell &cell) override |
|
void | offer_cell (const ThriftGen::Namespace ns, const String &table, const ThriftGen::MutateSpec &mutate_spec, const ThriftGen::Cell &cell) override |
|
void | shared_mutator_set_cells_as_arrays (const ThriftGen::Namespace ns, const String &table, const ThriftGen::MutateSpec &mutate_spec, const ThriftCellsAsArrays &cells) override |
|
void | offer_cells_as_arrays (const ThriftGen::Namespace ns, const String &table, const ThriftGen::MutateSpec &mutate_spec, const ThriftCellsAsArrays &cells) override |
|
void | shared_mutator_set_cell_as_array (const ThriftGen::Namespace ns, const String &table, const ThriftGen::MutateSpec &mutate_spec, const CellAsArray &cell) override |
|
void | offer_cell_as_array (const ThriftGen::Namespace ns, const String &table, const ThriftGen::MutateSpec &mutate_spec, const CellAsArray &cell) override |
|
ThriftGen::Future | future_open (int capacity) override |
|
ThriftGen::Future | open_future (int capacity) override |
|
void | future_get_result (ThriftGen::Result &tresult, ThriftGen::Future ff, int timeout_millis) override |
|
void | get_future_result (ThriftGen::Result &tresult, ThriftGen::Future ff, int timeout_millis) override |
|
void | future_get_result_as_arrays (ThriftGen::ResultAsArrays &tresult, ThriftGen::Future ff, int timeout_millis) override |
|
void | get_future_result_as_arrays (ThriftGen::ResultAsArrays &tresult, ThriftGen::Future ff, int timeout_millis) override |
|
void | future_get_result_serialized (ThriftGen::ResultSerialized &tresult, ThriftGen::Future ff, int timeout_millis) override |
|
void | get_future_result_serialized (ThriftGen::ResultSerialized &tresult, ThriftGen::Future ff, int timeout_millis) override |
|
void | future_cancel (ThriftGen::Future ff) override |
|
void | cancel_future (ThriftGen::Future ff) override |
|
bool | future_is_empty (ThriftGen::Future ff) override |
|
bool | future_is_full (ThriftGen::Future ff) override |
|
bool | future_is_cancelled (ThriftGen::Future ff) override |
|
bool | future_has_outstanding (ThriftGen::Future ff) override |
|
void | future_close (const ThriftGen::Future ff) override |
|
void | close_future (const ThriftGen::Future ff) override |
|
ThriftGen::Namespace | namespace_open (const String &ns) override |
|
ThriftGen::Namespace | open_namespace (const String &ns) override |
|
MutatorAsync | async_mutator_open (const ThriftGen::Namespace ns, const String &table, const ThriftGen::Future ff,::int32_t flags) override |
|
MutatorAsync | open_mutator_async (const ThriftGen::Namespace ns, const String &table, const ThriftGen::Future ff,::int32_t flags) override |
|
Mutator | mutator_open (const ThriftGen::Namespace ns, const String &table, int32_t flags, int32_t flush_interval) override |
|
Mutator | open_mutator (const ThriftGen::Namespace ns, const String &table, int32_t flags, int32_t flush_interval) override |
|
void | mutator_flush (const Mutator mutator) override |
|
void | flush_mutator (const Mutator mutator) override |
|
void | async_mutator_flush (const MutatorAsync mutator) override |
|
void | flush_mutator_async (const MutatorAsync mutator) override |
|
void | mutator_close (const Mutator mutator) override |
|
void | close_mutator (const Mutator mutator) override |
|
void | async_mutator_cancel (const MutatorAsync mutator) override |
|
void | cancel_mutator_async (const MutatorAsync mutator) override |
|
void | async_mutator_close (const MutatorAsync mutator) override |
|
void | close_mutator_async (const MutatorAsync mutator) override |
|
void | mutator_set_cells (const Mutator mutator, const ThriftCells &cells) override |
|
void | mutator_set_cell (const Mutator mutator, const ThriftGen::Cell &cell) override |
|
void | mutator_set_cells_as_arrays (const Mutator mutator, const ThriftCellsAsArrays &cells) override |
|
void | mutator_set_cell_as_array (const Mutator mutator, const CellAsArray &cell) override |
|
void | mutator_set_cells_serialized (const Mutator mutator, const CellsSerialized &cells, const bool flush) override |
|
void | set_cell (const ThriftGen::Namespace ns, const String &table, const ThriftGen::Cell &cell) override |
|
void | set_cells (const ThriftGen::Namespace ns, const String &table, const ThriftCells &cells) override |
|
void | set_cells_as_arrays (const ThriftGen::Namespace ns, const String &table, const ThriftCellsAsArrays &cells) override |
|
void | set_cell_as_array (const ThriftGen::Namespace ns, const String &table, const CellAsArray &cell) override |
|
void | set_cells_serialized (const ThriftGen::Namespace ns, const String &table, const CellsSerialized &cells) override |
|
void | async_mutator_set_cells (const MutatorAsync mutator, const ThriftCells &cells) override |
|
void | set_cells_async (const MutatorAsync mutator, const ThriftCells &cells) override |
|
void | async_mutator_set_cell (const MutatorAsync mutator, const ThriftGen::Cell &cell) override |
|
void | set_cell_async (const MutatorAsync mutator, const ThriftGen::Cell &cell) override |
|
void | async_mutator_set_cells_as_arrays (const MutatorAsync mutator, const ThriftCellsAsArrays &cells) override |
|
void | set_cells_as_arrays_async (const MutatorAsync mutator, const ThriftCellsAsArrays &cells) override |
|
void | async_mutator_set_cell_as_array (const MutatorAsync mutator, const CellAsArray &cell) override |
|
void | set_cell_as_array_async (const MutatorAsync mutator, const CellAsArray &cell) override |
|
void | async_mutator_set_cells_serialized (const MutatorAsync mutator, const CellsSerialized &cells, const bool flush) override |
|
void | set_cells_serialized_async (const MutatorAsync mutator, const CellsSerialized &cells, const bool flush) override |
|
bool | namespace_exists (const String &ns) override |
|
bool | exists_namespace (const String &ns) override |
|
bool | table_exists (const ThriftGen::Namespace ns, const String &table) override |
|
bool | exists_table (const ThriftGen::Namespace ns, const String &table) override |
|
void | table_get_id (String &result, const ThriftGen::Namespace ns, const String &table) override |
|
void | get_table_id (String &result, const ThriftGen::Namespace ns, const String &table) override |
|
void | table_get_schema_str (String &result, const ThriftGen::Namespace ns, const String &table) override |
|
void | get_schema_str (String &result, const ThriftGen::Namespace ns, const String &table) override |
|
void | table_get_schema_str_with_ids (String &result, const ThriftGen::Namespace ns, const String &table) override |
|
void | get_schema_str_with_ids (String &result, const ThriftGen::Namespace ns, const String &table) override |
|
void | table_get_schema (ThriftGen::Schema &result, const ThriftGen::Namespace ns, const String &table) override |
|
void | get_schema (ThriftGen::Schema &result, const ThriftGen::Namespace ns, const String &table) override |
|
void | get_tables (std::vector< String > &tables, const ThriftGen::Namespace ns) override |
|
void | namespace_get_listing (std::vector< ThriftGen::NamespaceListing > &_return, const ThriftGen::Namespace ns) override |
|
void | get_listing (std::vector< ThriftGen::NamespaceListing > &_return, const ThriftGen::Namespace ns) override |
|
void | table_get_splits (std::vector< ThriftGen::TableSplit > &_return, const ThriftGen::Namespace ns, const String &table) override |
|
void | get_table_splits (std::vector< ThriftGen::TableSplit > &_return, const ThriftGen::Namespace ns, const String &table) override |
|
void | namespace_drop (const String &ns, const bool if_exists) override |
|
void | drop_namespace (const String &ns, const bool if_exists) override |
|
void | table_rename (const ThriftGen::Namespace ns, const String &table, const String &new_table_name) override |
|
void | rename_table (const ThriftGen::Namespace ns, const String &table, const String &new_table_name) override |
|
void | table_drop (const ThriftGen::Namespace ns, const String &table, const bool if_exists) override |
|
void | drop_table (const ThriftGen::Namespace ns, const String &table, const bool if_exists) override |
|
void | generate_guid (std::string &_return) override |
|
void | create_cell_unique (std::string &_return, const ThriftGen::Namespace ns, const std::string &table_name, const ThriftGen::Key &tkey, const std::string &value) override |
|
void | status (ThriftGen::Status &_return) override |
|
void | shutdown () override |
|
void | error_get_text (std::string &_return, int error_code) override |
|
void | _convert_result (const Hypertable::ResultPtr &hresult, ThriftGen::Result &tresult) |
|
void | _convert_result_as_arrays (const Hypertable::ResultPtr &hresult, ThriftGen::ResultAsArrays &tresult) |
|
void | _convert_result_serialized (Hypertable::ResultPtr &hresult, ThriftGen::ResultSerialized &tresult) |
|
TableMutatorAsync * | _open_mutator_async (const ThriftGen::Namespace ns, const String &table, const ThriftGen::Future ff,::int32_t flags) |
|
TableScannerAsync * | _open_scanner_async (const ThriftGen::Namespace ns, const String &table, const ThriftGen::Future ff, const ThriftGen::ScanSpec &ss) |
|
TableScanner * | _open_scanner (const ThriftGen::Namespace ns, const String &table, const Hypertable::ScanSpec &ss) |
|
TableMutator * | _open_mutator (const ThriftGen::Namespace ns, const String &table) |
|
template<class CellT > |
void | _next (vector< CellT > &result, TableScanner *scanner, int limit) |
|
template<class CellT > |
void | _next_row (vector< CellT > &result, TableScanner *scanner) |
|
void | run_hql_interp (const ThriftGen::Namespace ns, const String &hql, HqlInterpreter::Callback &cb) |
|
template<class CellT > |
void | _offer_cells (const ThriftGen::Namespace ns, const String &table, const ThriftGen::MutateSpec &mutate_spec, const vector< CellT > &cells) |
|
template<class CellT > |
void | _offer_cell (const ThriftGen::Namespace ns, const String &table, const ThriftGen::MutateSpec &mutate_spec, const CellT &cell) |
|
template<class CellT > |
void | _set_cells (const Mutator mutator, const vector< CellT > &cells) |
|
template<class CellT > |
void | _set_cell (const Mutator mutator, const CellT &cell) |
|
template<class CellT > |
void | _set_cells_async (const MutatorAsync mutator, const vector< CellT > &cells) |
|
template<class CellT > |
void | _set_cell_async (const MutatorAsync mutator, const CellT &cell) |
|
ClientObject * | get_object (int64_t id) |
|
ClientObject * | get_cached_object (int64_t id) |
|
Hypertable::Future * | get_future (int64_t id) |
|
Hypertable::Namespace * | get_namespace (int64_t id) |
|
int64_t | get_cached_object_id (ClientObjectPtr co) |
|
int64_t | get_object_id (ClientObject *co) |
|
int64_t | get_object_id (TableMutatorPtr &mutator) |
|
int64_t | try_get_object_id (ClientObject *co) |
|
int64_t | get_scanner_id (TableScanner *scanner, ScannerInfoPtr &info) |
|
int64_t | get_scanner_id (TableScannerPtr &scanner, ScannerInfoPtr &info) |
|
void | add_reference (int64_t from, int64_t to) |
|
void | remove_references (int64_t id) |
|
TableScannerAsync * | get_scanner_async (int64_t id) |
|
TableScanner * | get_scanner (int64_t id, ScannerInfoPtr &info) |
|
bool | remove_object (int64_t id) |
|
bool | remove_cached_object (int64_t id) |
|
void | remove_scanner (int64_t id) |
|
void | remove_scanner (int64_t id, ClientObjectPtr &scanner, ScannerInfoPtr &info) |
|
void | shared_mutator_refresh (const ThriftGen::Namespace ns, const String &table, const ThriftGen::MutateSpec &mutate_spec) override |
|
void | refresh_shared_mutator (const ThriftGen::Namespace ns, const String &table, const ThriftGen::MutateSpec &mutate_spec) override |
|
TableMutator * | get_shared_mutator (const ThriftGen::Namespace ns, const String &table, const ThriftGen::MutateSpec &mutate_spec) |
|
TableMutator * | get_mutator (int64_t id) |
|
TableMutatorAsync * | get_mutator_async (int64_t id) |
|
void | remove_future (int64_t id) |
|
void | remove_namespace (int64_t id) |
|
void | remove_mutator (int64_t id) |
|