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

Function get

nanofi/src/api/nanofi.cpp:648–658  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

646}
647
648flow_file_record* get(processor_session *session, processor_context *context) {
649 auto ff = session->get();
650 if(!ff) {
651 return nullptr;
652 }
653
654 auto ffr = flowfile_to_record(ff, context->getContentRepository());
655 // The content of the flow file must be kept in a processor logic
656 ffr->keepContent = 1;
657 return ffr;
658}
659
660flow_file_record * get_next_flow_file(nifi_instance * instance, flow * flow) {
661 if (instance == nullptr || nullptr == flow)

Callers 15

custom_ontrigger_logicFunction · 0.85
custom_processor_logicFunction · 0.85
setMethod · 0.85
getMethod · 0.85
setLevelMethod · 0.85
getMethod · 0.85
getAgentClassMethod · 0.85
getAgentIdentifierMethod · 0.85
getImplMethod · 0.85
get_loggerMethod · 0.85
coerceDefaultValueMethod · 0.85
PropertyClass · 0.85

Calls 3

flowfile_to_recordFunction · 0.85
getMethod · 0.45
getContentRepositoryMethod · 0.45

Tested by 2

custom_ontrigger_logicFunction · 0.68
setLevelMethod · 0.68