ThriftBroker server. More...
#include <Common/Compat.h>#include <ThriftBroker/Config.h>#include <ThriftBroker/MetricsHandler.h>#include <ThriftBroker/SerializedCellsReader.h>#include <ThriftBroker/SerializedCellsWriter.h>#include <ThriftBroker/ThriftHelper.h>#include <HyperAppHelper/Unique.h>#include <HyperAppHelper/Error.h>#include <Hypertable/Lib/Client.h>#include <Hypertable/Lib/Future.h>#include <Hypertable/Lib/HqlInterpreter.h>#include <Hypertable/Lib/Key.h>#include <Hypertable/Lib/NamespaceListing.h>#include <Hypertable/Lib/ProfileDataScanner.h>#include <Common/Cronolog.h>#include <Common/fast_clock.h>#include <Common/Init.h>#include <Common/Logger.h>#include <Common/Random.h>#include <Common/System.h>#include <Common/Time.h>#include <concurrency/ThreadManager.h>#include <protocol/TBinaryProtocol.h>#include <server/TThreadedServer.h>#include <transport/TBufferTransports.h>#include <transport/TServerSocket.h>#include <transport/TSocket.h>#include <transport/TTransportUtils.h>#include <boost/shared_ptr.hpp>#include <iostream>#include <iomanip>#include <map>#include <memory>#include <mutex>#include <sstream>#include <unordered_map>#include <signal.h>#include <sys/types.h>#include <unistd.h>
Go to the source code of this file.
Namespaces | |
| Hypertable | |
| Hypertable definitions | |
| Hypertable::ThriftBroker | |
Macros | |
| #define | THROW_TE(_code_, _str_) |
| #define | RETHROW(_expr_) |
| #define | LOG_API_START(_expr_) |
| #define | LOG_API_FINISH |
| #define | LOG_API_FINISH_E(_expr_) |
| #define | LOG_API(_expr_) |
| #define | LOG_HQL_RESULT(_res_) |
| #define | LOG_SLOW_QUERY(_pd_, _ns_, _hql_) |
| #define | LOG_SLOW_QUERY_SCANNER(_scanner_, _ns_, _table_, _ss_) |
Typedefs | |
| typedef Meta::list < ThriftBrokerPolicy, DefaultCommPolicy > | Hypertable::ThriftBroker::Policies |
| typedef std::map < SharedMutatorMapKey, TableMutator * > | Hypertable::ThriftBroker::SharedMutatorMap |
| typedef std::unordered_map < ::int64_t, ClientObjectPtr > | Hypertable::ThriftBroker::ObjectMap |
| typedef std::vector < ThriftGen::Cell > | Hypertable::ThriftBroker::ThriftCells |
| typedef std::vector< CellAsArray > | Hypertable::ThriftBroker::ThriftCellsAsArrays |
| typedef std::shared_ptr < ScannerInfo > | Hypertable::ThriftBroker::ScannerInfoPtr |
ThriftBroker server.
This file contains the main function and server definition for the ThriftBroker, a server that provides client language independent access to Hypertable.
Definition in file ThriftBroker.cc.
1.8.8