MCPcopy Create free account
hub / github.com/apache/nifi-minifi-cpp / removeAttribute

Method removeAttribute

extensions/script/ScriptFlowFile.cpp:71–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69}
70
71bool ScriptFlowFile::removeAttribute(std::string key) {
72 if (!flow_file_) {
73 throw std::runtime_error("Access of FlowFile after it has been released");
74 }
75
76 return flow_file_->removeAttribute(std::move(key));
77}
78
79std::shared_ptr<core::FlowFile> ScriptFlowFile::getFlowFile() {
80 return flow_file_;

Callers 2

processFlowFileMethod · 0.45
onTriggerMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected