MCPcopy Create free account
hub / github.com/apache/impala / FromTNetworkAddress

Function FromTNetworkAddress

be/src/util/network-util.cc:265–271  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

263}
264
265NetworkAddressPB FromTNetworkAddress(const TNetworkAddress& address) {
266 NetworkAddressPB address_pb;
267 address_pb.set_hostname(address.hostname);
268 address_pb.set_port(address.port);
269 if (address.__isset.uds_address) address_pb.set_uds_address(address.uds_address);
270 return address_pb;
271}
272
273bool TNetworkAddressComparator::operator()(const TNetworkAddress& a,
274 const TNetworkAddress& b) const {

Callers 8

IsHostMethod · 0.85
InitMethod · 0.85
InitFilterBankMethod · 0.85
BuildFilterMapMethod · 0.85
TESTFunction · 0.85
CheckTranslationFunction · 0.85

Calls 1

set_portMethod · 0.45

Tested by 3

IsHostMethod · 0.68
TESTFunction · 0.68
CheckTranslationFunction · 0.68