| 81 | } |
| 82 | |
| 83 | void ExecuteSQL::processOnSchedule(core::ProcessContext &context) { |
| 84 | initOutputFormat(context); |
| 85 | |
| 86 | context.getProperty(s_sqlSelectQuery.getName(), sqlSelectQuery_); |
| 87 | context.getProperty(s_maxRowsPerFlowFile.getName(), max_rows_); |
| 88 | } |
| 89 | |
| 90 | void ExecuteSQL::processOnTrigger(core::ProcessSession& session) { |
| 91 | auto statement = connection_->prepareStatement(sqlSelectQuery_); |
nothing calls this directly
no test coverage detected