MCPcopy Create free account
hub / github.com/apache/arrow / GetOrInsert

Function GetOrInsert

cpp/src/arrow/array/builder_dict.h:89–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87
88 template <typename T>
89 Status GetOrInsert(typename DictionaryValue<T>::type value, int32_t* out) {
90 // We want to keep the DictionaryMemoTable implementation private, also we can't
91 // use extern template classes because of compiler issues (MinGW?). Instead,
92 // we expose explicit function overrides for each supported physical type.
93 const typename DictionaryValue<T>::PhysicalType* physical_type = NULLPTR;
94 return GetOrInsert(physical_type, value, out);
95 }
96
97 private:
98 Status GetOrInsert(const BooleanType*, bool value, int32_t* out);

Callers 4

GetOrInsertMethod · 0.85
GetOrInsertMethod · 0.85
GetOrInsertMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected