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

Method VisitChildren

cpp/src/arrow/ipc/dictionary.cc:345–355  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

343 MemoryPool* pool_;
344
345 Status VisitChildren(const ArrayDataVector& data_vector, FieldPosition parent_pos) {
346 int i = 0;
347 for (const auto& data : data_vector) {
348 // Some data entries may be missing if reading only a subset of the schema
349 if (data != nullptr) {
350 RETURN_NOT_OK(VisitField(parent_pos.child(i), data.get()));
351 }
352 ++i;
353 }
354 return Status::OK();
355 }
356
357 Status VisitField(FieldPosition field_pos, ArrayData* data) {
358 const DataType* type = data->type.get();

Callers 1

ResolveDictionariesFunction · 0.45

Calls 3

childMethod · 0.80
OKFunction · 0.50
getMethod · 0.45

Tested by

no test coverage detected