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

Method VisitSparseCSFIndex

cpp/src/arrow/ipc/writer.cc:1084–1092  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1082 }
1083
1084 Status VisitSparseCSFIndex(const SparseCSFIndex& sparse_index) {
1085 for (const std::shared_ptr<arrow::Tensor>& indptr : sparse_index.indptr()) {
1086 out_->body_buffers.emplace_back(indptr->data());
1087 }
1088 for (const std::shared_ptr<arrow::Tensor>& indices : sparse_index.indices()) {
1089 out_->body_buffers.emplace_back(indices->data());
1090 }
1091 return Status::OK();
1092 }
1093
1094 IpcPayload* out_;
1095

Callers

nothing calls this directly

Calls 4

emplace_backMethod · 0.80
indicesMethod · 0.80
OKFunction · 0.50
dataMethod · 0.45

Tested by

no test coverage detected