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

Method NumericConverter

cpp/src/arrow/json/converter.cc:116–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114 using value_type = typename T::c_type;
115
116 NumericConverter(MemoryPool* pool, const std::shared_ptr<DataType>& type)
117 : PrimitiveConverter(pool, type), numeric_type_(checked_cast<const T&>(*type)) {}
118
119 Status Convert(const std::shared_ptr<Array>& in, std::shared_ptr<Array>* out) override {
120 if (in->type_id() == Type::NA) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected