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

Method TimestampConverter

cpp/src/arrow/json/from_string.cc:416–420  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

414class TimestampConverter final : public ConcreteConverter<TimestampConverter> {
415 public:
416 explicit TimestampConverter(const std::shared_ptr<DataType>& type)
417 : timestamp_type_{checked_cast<const TimestampType*>(type.get())} {
418 this->type_ = type;
419 builder_ = std::make_shared<TimestampBuilder>(type, default_memory_pool());
420 }
421
422 Status AppendValue(sj::value& json_obj) override {
423 ARROW_ASSIGN_OR_RAISE(bool is_null, internal::IsJsonNull(json_obj));

Callers

nothing calls this directly

Calls 2

default_memory_poolFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected