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

Function GetMemberTimeUnit

cpp/src/arrow/integration/json_internal.cc:920–923  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

918}
919
920Result<TimeUnit::type> GetMemberTimeUnit(const RjObject& obj, const std::string& key) {
921 ARROW_ASSIGN_OR_RAISE(const auto unit_str, GetMemberString(obj, key));
922 return GetUnitFromString(unit_str);
923}
924
925Result<std::shared_ptr<DataType>> GetInteger(const rj::Value::ConstObject& json_type) {
926 ARROW_ASSIGN_OR_RAISE(const bool is_signed, GetMemberBool(json_type, "isSigned"));

Callers 1

json_internal.ccFile · 0.85

Calls 1

GetUnitFromStringFunction · 0.85

Tested by

no test coverage detected