| 143 | } |
| 144 | |
| 145 | bool FlowFile::getAttribute(std::string key, std::string& value) const { |
| 146 | auto it = attributes_.find(key); |
| 147 | if (it != attributes_.end()) { |
| 148 | value = it->second; |
| 149 | return true; |
| 150 | } else { |
| 151 | return false; |
| 152 | } |
| 153 | } |
| 154 | |
| 155 | // Get Size |
| 156 | uint64_t FlowFile::getSize() const { |
no test coverage detected