22 #ifndef Tools_load_generator_LoadClient_h
23 #define Tools_load_generator_LoadClient_h
38 #include <boost/algorithm/string.hpp>
49 using namespace boost;
57 void create_mutator(
const String &tablename,
int mutator_flags,
58 ::uint64_t shared_mutator_flush_interval);
64 void create_scanner(
const String &tablename,
const ScanSpec& scan_spec);
65 void set_cells(
const Cells &cells);
66 void set_delete(
const KeySpec &key);
74 uint64_t get_all_cells();
85 boost::shared_ptr<Thrift::Client> m_thrift_client;
86 ThriftGen::Namespace m_thrift_namespace;
87 ThriftGen::Mutator m_thrift_mutator;
88 ThriftGen::Scanner m_thrift_scanner;
94 #endif // Tools_load_generator_LoadClient_h
std::vector< Cell, CellAlloc > Cells
std::string String
A String is simply a typedef to std::string.
std::shared_ptr< TableScanner > TableScannerPtr
Smart pointer to TableScanner.
std::shared_ptr< Namespace > NamespacePtr
Shared smart pointer to Namespace.
std::shared_ptr< Client > ClientPtr
std::shared_ptr< TableMutator > TableMutatorPtr
Smart pointer to TableMutator.
Compatibility Macros for C/C++.
ClientPtr m_native_client
TableMutatorPtr m_native_mutator
std::shared_ptr< LoadClient > LoadClientPtr
A String class based on std::string.
TableScannerPtr m_native_scanner
std::shared_ptr< Table > TablePtr