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

Method GetVariadicBuffers

cpp/src/arrow/array/data.cc:683–687  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

681}
682
683std::span<const std::shared_ptr<Buffer>> ArraySpan::GetVariadicBuffers() const {
684 DCHECK(HasVariadicBuffers());
685 return {buffers[2].data_as<std::shared_ptr<Buffer>>(),
686 static_cast<size_t>(buffers[2].size) / sizeof(std::shared_ptr<Buffer>)};
687}
688
689bool ArraySpan::HasVariadicBuffers() const {
690 return type->id() == Type::BINARY_VIEW || type->id() == Type::STRING_VIEW;

Callers 3

VisitStatusMethod · 0.80
VisitVoidMethod · 0.80
AppendArraySliceMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected