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

Method getAttribute

libminifi/src/core/FlowFile.cpp:145–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143}
144
145bool 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
156uint64_t FlowFile::getSize() const {

Callers 6

onTriggerFunction · 0.45
onTriggerFunction · 0.45
onTriggerFunction · 0.45
onTriggerFunction · 0.45
RepoTests.cppFile · 0.45

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected