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

Method FlowFileRecord

libminifi/src/FlowFileRecord.cpp:44–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42std::atomic<uint64_t> FlowFileRecord::local_flow_seq_number_(0);
43
44FlowFileRecord::FlowFileRecord() {
45 // TODO(adebreceni):
46 // we should revisit if we need these in a follow-up ticket
47 id_ = local_flow_seq_number_++;
48 addAttribute(core::SpecialFlowAttribute::FILENAME, std::to_string(utils::timeutils::getTimeNano()));
49}
50
51std::shared_ptr<FlowFileRecord> FlowFileRecord::DeSerialize(const std::string& key, const std::shared_ptr<core::Repository>& flowRepository,
52 const std::shared_ptr<core::ContentRepository>& content_repo, utils::Identifier& container) {

Callers

nothing calls this directly

Calls 2

getTimeNanoFunction · 0.85
to_stringFunction · 0.50

Tested by

no test coverage detected