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

Function DurationScalar

cpp/src/arrow/scalar.h:526–528  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

524 using TemporalScalar<DurationType>::TemporalScalar;
525
526 DurationScalar(typename TemporalScalar<DurationType>::ValueType value,
527 TimeUnit::type unit)
528 : DurationScalar(std::move(value), duration(unit)) {}
529
530 // Convenience constructors for a DurationScalar from std::chrono::nanoseconds
531 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