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

Method transfer

extensions/script/lua/LuaProcessSession.cpp:49–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49void LuaProcessSession::transfer(const std::shared_ptr<script::ScriptFlowFile> &script_flow_file,
50 core::Relationship relationship) {
51 if (!session_) {
52 throw std::runtime_error("Access of ProcessSession after it has been released");
53 }
54
55 auto flow_file = script_flow_file->getFlowFile();
56
57 if (!flow_file) {
58 throw std::runtime_error("Access of FlowFile after it has been released");
59 }
60
61 session_->transfer(flow_file, relationship);
62}
63
64void LuaProcessSession::read(const std::shared_ptr<script::ScriptFlowFile> &script_flow_file,
65 sol::table input_stream_callback) {

Callers 15

processOnTriggerMethod · 0.45
processOnTriggerMethod · 0.45
onTriggerFunction · 0.45
onFrameMethod · 0.45
onTriggerMethod · 0.45
onTriggerMethod · 0.45
routeMethod · 0.45
onTriggerMethod · 0.45
onTriggerMethod · 0.45
onTriggerMethod · 0.45
onTriggerMethod · 0.45

Calls 1

getFlowFileMethod · 0.80

Tested by 1

onTriggerMethod · 0.36