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

Method StructArray

cpp/src/arrow/array/array_nested.cc:1052–1057  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1050
1051StructArray::~StructArray() = default;
1052StructArray::StructArray(const std::shared_ptr<ArrayData>& data) {
1053 ARROW_CHECK_EQ(data->type->id(), Type::STRUCT);
1054 SetData(data);
1055 impl_ = std::make_unique<Impl>();
1056 impl_->boxed_fields_.resize(data_->child_data.size());
1057}
1058
1059StructArray::StructArray(const std::shared_ptr<DataType>& type, int64_t length,
1060 const std::vector<std::shared_ptr<Array>>& children,

Callers

nothing calls this directly

Calls 8

resizeMethod · 0.80
push_backMethod · 0.80
SetDataFunction · 0.70
MakeFunction · 0.70
idMethod · 0.45
sizeMethod · 0.45
reserveMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected