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

Method LogicalValues

cpp/src/arrow/array/array_run_end.cc:154–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152}
153
154std::shared_ptr<Array> RunEndEncodedArray::LogicalValues() const {
155 const int64_t physical_offset = FindPhysicalOffset();
156 const int64_t physical_length = FindPhysicalLength();
157 return MakeArray(data()->child_data[1]->Slice(physical_offset, physical_length));
158}
159
160int64_t RunEndEncodedArray::FindPhysicalOffset() const {
161 const ArraySpan span(*this->data_);

Callers 3

VisitMethod · 0.80
VisitMethod · 0.80

Calls 4

MakeArrayFunction · 0.70
FindPhysicalLengthFunction · 0.50
dataFunction · 0.50
SliceMethod · 0.45

Tested by

no test coverage detected