Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
container-util.h File Reference
#include <map>
#include <boost/unordered_map.hpp>
#include "util/hash-util.h"
#include "gen-cpp/Types_types.h"
Include dependency graph for container-util.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  impala::HashTNetworkAddressPtr
 
struct  impala::TNetworkAddressPtrEquals
 

Namespaces

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

Functions

std::size_t impala::hash_value (const TNetworkAddress &host_port)
 
template<typename K , typename V >
V * impala::FindOrInsert (std::map< K, V > *m, const K &key, const V &default_val)
 
template<typename K , typename V >
V * impala::FindOrInsert (boost::unordered_map< K, V > *m, const K &key, const V &default_val)
 
template<typename K , typename V >
const V & impala::FindWithDefault (const std::map< K, V > &m, const K &key, const V &default_val)
 
template<typename K , typename V >
const V & impala::FindWithDefault (const boost::unordered_map< K, V > &m, const K &key, const V &default_val)
 
template<typename K , typename V >
void impala::MergeMapValues (const std::map< K, V > &src, std::map< K, V > *dst)