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

Function AppendValuesFromMap

be/src/gutil/map-util.h:857–864  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

855// Note: any initial contents of the value_container are not cleared.
856template <class MapContainer, class ValueContainer>
857void AppendValuesFromMap(const MapContainer& map_container,
858 ValueContainer* value_container) {
859 CHECK(value_container != NULL);
860 for (typename MapContainer::const_iterator it = map_container.begin();
861 it != map_container.end(); ++it) {
862 value_container->push_back(it->second);
863 }
864}
865
866template <class MapContainer, class ValueContainer>
867void EmplaceValuesFromMap(MapContainer&& map_container,

Callers

nothing calls this directly

Calls 4

EmplaceValuesFromMapFunction · 0.85
push_backMethod · 0.80
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected