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

Method IsNullRunEndEncoded

cpp/src/arrow/array/data.cc:713–720  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

711}
712
713bool ArraySpan::IsNullRunEndEncoded(int64_t i) const {
714 const auto& values = ree_util::ValuesArray(*this);
715 if (values.MayHaveLogicalNulls()) {
716 const int64_t physical_offset = ree_util::FindPhysicalIndex(*this, i, this->offset);
717 return ree_util::ValuesArray(*this).IsNull(physical_offset);
718 }
719 return false;
720}
721
722bool ArraySpan::UnionMayHaveLogicalNulls() const {
723 for (auto& child : this->child_data) {

Callers 1

IsNullRunEndEncodedFunction · 0.80

Calls 2

FindPhysicalIndexFunction · 0.50
IsNullMethod · 0.45

Tested by

no test coverage detected