(upstream, dataIndex, targetLine, collectionDimInfoList, groupByDimInfo, groupByVal)
| 236 | return newLine; |
| 237 | }; |
| 238 | var updateCollectionResultLine = function (upstream, dataIndex, targetLine, collectionDimInfoList, groupByDimInfo, groupByVal) { |
| 239 | for (var i = 0; i < collectionDimInfoList.length; i++) { |
| 240 | var dimInfo = collectionDimInfoList[i]; |
| 241 | var collectionInfoList = dimInfo.collectionInfoList; |
| 242 | for (var j = 0; j < collectionInfoList.length; j++) { |
| 243 | var collectionInfo = collectionInfoList[j]; |
| 244 | var indexInLine = collectionInfo.indexInLine; |
| 245 | targetLine[indexInLine] = +lineUpdater[collectionInfo.method](targetLine[indexInLine], upstream, dataIndex, dimInfo, groupByDimInfo, groupByVal); |
| 246 | } |
| 247 | if (dimInfo.needGatherValues) { |
| 248 | var val = upstream.retrieveValue(dataIndex, dimInfo.indexInUpstream); |
| 249 | dimInfo.gatherValue(groupByDimInfo, groupByVal, val); |
| 250 | } |
| 251 | } |
| 252 | }; |
| 253 | var createFinalResultLine = function (upstream, dataIndex, finalResultDimInfoList, groupByDimInfo, groupByVal) { |
| 254 | var newLine = []; |
| 255 | for (var i = 0; i < finalResultDimInfoList.length; i++) { |
nothing calls this directly
no test coverage detected
searching dependent graphs…