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