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

Method Decode

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

Source from the content-addressed store, hash-verified

493 string_converter_() {}
494
495 Status Decode(const uint8_t* data, uint32_t size, bool quoted, value_type* out) {
496 TrimWhiteSpace(&data, &size);
497 if (ARROW_PREDICT_FALSE(!string_converter_.Convert(
498 concrete_type_, reinterpret_cast<const char*>(data), size, out))) {
499 return GenericConversionError(type_, data, size);
500 }
501 return Status::OK();
502 }
503
504 protected:
505 const DurationType& concrete_type_;

Callers

nothing calls this directly

Calls 4

TrimWhiteSpaceFunction · 0.85
GenericConversionErrorFunction · 0.70
OKFunction · 0.50
ConvertMethod · 0.45

Tested by

no test coverage detected