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

Function FindPhysicalLength

cpp/src/arrow/util/ree_util.cc:162–172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160}
161
162int64_t FindPhysicalLength(const ArraySpan& span) {
163 auto type_id = RunEndsArray(span).type->id();
164 if (type_id == Type::INT16) {
165 return internal::FindPhysicalLength<int16_t>(span);
166 }
167 if (type_id == Type::INT32) {
168 return internal::FindPhysicalLength<int32_t>(span);
169 }
170 DCHECK_EQ(type_id, Type::INT64);
171 return internal::FindPhysicalLength<int64_t>(span);
172}
173
174std::pair<int64_t, int64_t> FindPhysicalRange(const ArraySpan& span, int64_t offset,
175 int64_t length) {

Callers

nothing calls this directly

Calls 1

idMethod · 0.45

Tested by

no test coverage detected