Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
thrift-util.cc File Reference
#include "rpc/thrift-util.h"
#include <boost/shared_ptr.hpp>
#include <boost/thread.hpp>
#include "util/hash-util.h"
#include "util/time.h"
#include "rpc/thrift-server.h"
#include "gen-cpp/Types_types.h"
#include "gen-cpp/Data_types.h"
#include <thrift/Thrift.h>
#include <thrift/transport/TSocket.h>
#include <thrift/transport/TServerSocket.h>
#include <thrift/concurrency/ThreadManager.h>
#include <thrift/concurrency/PosixThreadFactory.h>
#include <thrift/protocol/TCompactProtocol.h>
#include "common/names.h"
Include dependency graph for thrift-util.cc:

Go to the source code of this file.

Namespaces

 impala
 This file contains type definitions that are used throughout the code base.
 

Macros

#define SIGNED_RIGHT_SHIFT_IS   1
 
#define ARITHMETIC_RIGHT_SHIFT   1
 

Functions

shared_ptr< TProtocol > impala::CreateDeserializeProtocol (shared_ptr< TMemoryBuffer > mem, bool compact)
 
static void impala::ThriftOutputFunction (const char *output)
 
void impala::InitThriftLogging ()
 Redirects all Thrift logging to VLOG(1) More...
 
Status impala::WaitForLocalServer (const ThriftServer &server, int num_retries, int retry_interval_ms)
 
Status impala::WaitForServer (const string &host, int port, int num_retries, int retry_interval_ms)
 
std::ostream & impala::operator<< (std::ostream &out, const TColumnValue &colval)
 Print a TColumnValue. If null, print "NULL". More...
 
bool impala::TNetworkAddressComparator (const TNetworkAddress &a, const TNetworkAddress &b)
 
bool impala::IsTimeoutTException (const TException &e)
 

Macro Definition Documentation

#define ARITHMETIC_RIGHT_SHIFT   1

Definition at line 33 of file thrift-util.cc.

#define SIGNED_RIGHT_SHIFT_IS   1

Definition at line 32 of file thrift-util.cc.