1 #ifndef __RECORD_RETRIEVER_HPP__ 2 #define __RECORD_RETRIEVER_HPP__ 15 #include <boost/noncopyable.hpp> 16 #include <boost/shared_ptr.hpp> 43 const std::string& table_name,
47 const std::string& table_name );
82 const std::string& expression =
"" );
87 typedef std::map<std::string, std::string> str_to_str_map_t;
88 typedef boost::shared_ptr<gpudb::WorkerQueue> worker_queue_ptr_t;
95 const std::string& table_name,
99 std::string m_table_name;
102 std::vector<int32_t> m_routing_table;
103 std::vector<worker_queue_ptr_t> m_worker_queues;
113 #endif // __RECORD_RETRIEVER_HPP__
GetRecordsResponse< gpudb::GenericRecord > getRecordsByKey(const gpudb::GenericRecord &record, const std::string &expression="")
Retrieves records for a given shard key, optionally further limited by an additional expression...
const std::string & getTableName() const
Returns the name of the table on which this class operates.
The multi-head record retriever class.
A set of output parameters for getRecords(const GetRecordsRequest&) const.
const gpudb::GPUdb & getGPUdb() const
Returns the GPUdb client handle that this class uses internally.