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

Method Collect

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

Source from the content-addressed store, hash-verified

327 }
328
329 Status Collect(const RecordBatch& batch) {
330 FieldPosition position;
331 const Schema& schema = *batch.schema();
332 dictionaries_.reserve(mapper_.num_fields());
333
334 for (int i = 0; i < schema.num_fields(); ++i) {
335 RETURN_NOT_OK(Visit(position.child(i), schema.field(i), batch.column(i).get()));
336 }
337 return Status::OK();
338 }
339};
340
341struct DictionaryResolver {

Callers 1

CollectDictionariesFunction · 0.80

Calls 9

childMethod · 0.80
VisitFunction · 0.50
OKFunction · 0.50
schemaMethod · 0.45
reserveMethod · 0.45
num_fieldsMethod · 0.45
fieldMethod · 0.45
getMethod · 0.45
columnMethod · 0.45

Tested by

no test coverage detected