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

Method NumericBuilder

cpp/src/arrow/array/builder_primitive.h:91–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89
90 template <typename T1 = T>
91 explicit NumericBuilder(
92 enable_if_parameter_free<T1, MemoryPool*> pool = default_memory_pool(),
93 int64_t alignment = kDefaultBufferAlignment)
94 : ArrayBuilder(pool, alignment),
95 type_(TypeTraits<T>::type_singleton()),
96 data_builder_(pool, alignment) {}
97
98 NumericBuilder(const std::shared_ptr<DataType>& type, MemoryPool* pool,
99 int64_t alignment = kDefaultBufferAlignment)

Callers

nothing calls this directly

Calls 2

default_memory_poolFunction · 0.85
type_singletonFunction · 0.50

Tested by

no test coverage detected