\brief Return a column by name \param[in] name field name \return an Array or null if no field was found
| 147 | /// \param[in] name field name |
| 148 | /// \return an Array or null if no field was found |
| 149 | std::shared_ptr<ChunkedArray> GetColumnByName(const std::string& name) const { |
| 150 | auto i = schema_->GetFieldIndex(name); |
| 151 | return i == -1 ? NULLPTR : column(i); |
| 152 | } |
| 153 | |
| 154 | /// \brief Remove column from the table, producing a new Table |
| 155 | virtual Result<std::shared_ptr<Table>> RemoveColumn(int i) const = 0; |
nothing calls this directly
no test coverage detected