Constructor with a contiguous NumericTensor
| 286 | |
| 287 | // Constructor with a contiguous NumericTensor |
| 288 | SparseCOOIndex::SparseCOOIndex(const std::shared_ptr<Tensor>& coords, bool is_canonical) |
| 289 | : SparseIndexBase(), coords_(coords), is_canonical_(is_canonical) { |
| 290 | ARROW_CHECK_OK( |
| 291 | CheckSparseCOOIndexValidity(coords_->type(), coords_->shape(), coords_->strides())); |
| 292 | } |
| 293 | |
| 294 | std::string SparseCOOIndex::ToString() const { return std::string("SparseCOOIndex"); } |
| 295 |
nothing calls this directly
no test coverage detected