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

Method FromBatchSizeAndNulls

cpp/src/arrow/util/rle_encoding_internal.h:1016–1020  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1014 using size_type = rle_size_t;
1015
1016 static constexpr BatchCounter FromBatchSizeAndNulls(size_type batch_size,
1017 size_type null_count) {
1018 ARROW_DCHECK_LE(null_count, batch_size);
1019 return {batch_size - null_count, null_count};
1020 }
1021
1022 constexpr BatchCounter(size_type values_count, size_type null_count) noexcept
1023 : values_count_(values_count), null_count_(null_count) {}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected