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

Method process

extensions/sql/data/SQLRowsetProcessor.cpp:35–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33}
34
35size_t SQLRowsetProcessor::process(size_t max) {
36 size_t count = 0;
37
38 for (; iter_ != rowset_.end(); ) {
39 addRow(*iter_, count);
40 iter_++;
41 count++;
42 totalCount_++;
43 if (max > 0 && count >= max) {
44 break;
45 }
46 }
47
48 return count;
49}
50
51void SQLRowsetProcessor::addRow(const soci::row& row, size_t rowCount) {
52 for (const auto& pRowSubscriber : rowSubscribers_) {

Callers 2

processOnTriggerMethod · 0.45
processOnTriggerMethod · 0.45

Calls 1

endMethod · 0.45

Tested by

no test coverage detected