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

Method NoNulls

cpp/src/arrow/compute/kernels/vector_sort_internal.h:199–206  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

197 std::span<uint64_t> nulls;
198
199 static NullPartition NoNulls(std::span<uint64_t> indices,
200 NullPlacement null_placement) {
201 if (null_placement == NullPlacement::AtStart) {
202 return {.non_nulls = indices, .nulls = indices.subspan(0, 0)};
203 } else {
204 return {.non_nulls = indices, .nulls = indices.subspan(indices.size(), 0)};
205 }
206 }
207
208 // Note that we always pass the tail-partition second.
209 // In this function _nulls_ are passed as a second argument.

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected