\brief Return a column by name \param[in] name field name \return an Array or null if no field was found
| 135 | /// \param[in] name field name |
| 136 | /// \return an Array or null if no field was found |
| 137 | std::shared_ptr<ChunkedArray> GetColumnByName(const std::string& name) const { |
| 138 | auto i = schema_->GetFieldIndex(name); |
| 139 | return i == -1 ? NULLPTR : column(i); |
| 140 | } |
| 141 | |
| 142 | /// \brief Remove column from the table, producing a new Table |
| 143 | virtual Result<std::shared_ptr<Table>> RemoveColumn(int i) const = 0; |
nothing calls this directly
no test coverage detected