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

Method SetMinMax

cpp/src/arrow/compute/kernels/vector_array_sort.cc:288–291  ·  view source on GitHub ↗

Assume: max >= min && (max - min) < 4Gi

Source from the content-addressed store, hash-verified

286
287 // Assume: max >= min && (max - min) < 4Gi
288 void SetMinMax(c_type min, c_type max) {
289 min_ = min;
290 value_range_ = static_cast<uint32_t>(max - min) + 1;
291 }
292
293 Result<NullLikePartition> operator()(std::span<uint64_t> indices, const Array& array,
294 int64_t offset, const ArraySortOptions& options,

Callers 1

operator()Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected