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

Function DurationScalar

cpp/src/arrow/scalar.h:545–547  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

543 using TemporalScalar<DurationType>::TemporalScalar;
544
545 DurationScalar(typename TemporalScalar<DurationType>::ValueType value,
546 TimeUnit::type unit)
547 : DurationScalar(std::move(value), duration(unit)) {}
548
549 // Convenience constructors for a DurationScalar from std::chrono::nanoseconds
550 template <template <typename, typename> class StdDuration, typename Rep>

Callers 4

TESTFunction · 0.70
DatumFunction · 0.70
TEST_PFunction · 0.50
TESTFunction · 0.50

Calls 2

durationFunction · 0.70
countMethod · 0.45

Tested by 3

TESTFunction · 0.56
TEST_PFunction · 0.40
TESTFunction · 0.40