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

Method modifyAttributes

libminifi/src/provenance/Provenance.cpp:424–431  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

422}
423
424void ProvenanceReporter::modifyAttributes(std::shared_ptr<core::FlowFile> flow, std::string detail) {
425 auto event = allocate(ProvenanceEventRecord::ATTRIBUTES_MODIFIED, flow);
426
427 if (event) {
428 event->setDetails(detail);
429 add(event);
430 }
431}
432
433void ProvenanceReporter::modifyContent(std::shared_ptr<core::FlowFile> flow, std::string detail, uint64_t processingDuration) {
434 auto event = allocate(ProvenanceEventRecord::CONTENT_MODIFIED, flow);

Callers 2

putAttributeMethod · 0.45
removeAttributeMethod · 0.45

Calls 1

setDetailsMethod · 0.80

Tested by

no test coverage detected