| 6 | namespace data { |
| 7 | namespace op { |
| 8 | RenameKey::RenameKey(const std::string& ikey, const std::string& okey) |
| 9 | : ikey_(ikey), okey_(okey) {} |
| 10 | Sample RenameKey::apply(const Sample& sample) const { |
| 11 | auto input_array = sample::check_key(sample, ikey_, ArrayType::Any); |
| 12 | if (ikey_ == okey_) { |
nothing calls this directly
no outgoing calls
no test coverage detected