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

Method remove

libminifi/src/core/ProcessSession.cpp:179–184  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

177}
178
179void ProcessSession::remove(const std::shared_ptr<core::FlowFile> &flow) {
180 flow->setDeleted(true);
181 _deletedFlowFiles.push_back(flow);
182 std::string reason = process_context_->getProcessorNode()->getName() + " drop flow record " + flow->getUUIDStr();
183 provenance_report_->drop(flow, reason);
184}
185
186void ProcessSession::putAttribute(const std::shared_ptr<core::FlowFile> &flow, std::string key, std::string value) {
187 flow->setAttribute(key, value);

Calls 5

setDeletedMethod · 0.80
getProcessorNodeMethod · 0.80
dropMethod · 0.80
getNameMethod · 0.45
getUUIDStrMethod · 0.45

Tested by

no test coverage detected