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

Method NumericValueDecoder

cpp/src/arrow/csv/converter.cc:224–228  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

222 using value_type = typename T::c_type;
223
224 NumericValueDecoder(const std::shared_ptr<DataType>& type,
225 const ConvertOptions& options, const TrieCache* trie_cache)
226 : ValueDecoder(type, options, trie_cache),
227 concrete_type_(checked_cast<const T&>(*type)),
228 string_converter_(MakeStringConverter<T>(options)) {}
229
230 Status Decode(const uint8_t* data, uint32_t size, bool quoted, value_type* out) {
231 // XXX should quoted values be allowed at all?

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected