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

Function DurationType

cpp/src/arrow/type.h:1904–1905  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1902 int bit_width() const override { return static_cast<int>(sizeof(int64_t) * CHAR_BIT); }
1903
1904 explicit DurationType(TimeUnit::type unit = TimeUnit::MILLI)
1905 : TemporalType(Type::DURATION), unit_(unit) {}
1906
1907 std::string ToString(bool show_metadata = false) const override;
1908 std::string name() const override { return "duration"; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected