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

Function AddCastFunctions

cpp/src/arrow/compute/cast.cc:53–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51std::once_flag cast_table_initialized;
52
53void AddCastFunctions(const std::vector<std::shared_ptr<CastFunction>>& funcs) {
54 for (const auto& func : funcs) {
55 g_cast_table[static_cast<int>(func->out_type_id())] = func;
56 }
57}
58
59void InitCastTable() {
60 AddCastFunctions(GetBooleanCasts());

Callers 1

InitCastTableFunction · 0.85

Calls 1

out_type_idMethod · 0.80

Tested by

no test coverage detected