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

Method VisitSparseCSCIndex

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

Source from the content-addressed store, hash-verified

1076 }
1077
1078 Status VisitSparseCSCIndex(const SparseCSCIndex& sparse_index) {
1079 out_->body_buffers.emplace_back(sparse_index.indptr()->data());
1080 out_->body_buffers.emplace_back(sparse_index.indices()->data());
1081 return Status::OK();
1082 }
1083
1084 Status VisitSparseCSFIndex(const SparseCSFIndex& sparse_index) {
1085 for (const std::shared_ptr<arrow::Tensor>& indptr : sparse_index.indptr()) {

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