(upstream, dataIndex, collectionDimInfoList, groupByDimInfo, groupByVal)
| 220 | return methodInternal; |
| 221 | } |
| 222 | var createCollectionResultLine = function (upstream, dataIndex, collectionDimInfoList, groupByDimInfo, groupByVal) { |
| 223 | var newLine = []; |
| 224 | for (var i = 0; i < collectionDimInfoList.length; i++) { |
| 225 | var dimInfo = collectionDimInfoList[i]; |
| 226 | var collectionInfoList = dimInfo.collectionInfoList; |
| 227 | for (var j = 0; j < collectionInfoList.length; j++) { |
| 228 | var collectionInfo = collectionInfoList[j]; |
| 229 | newLine[collectionInfo.indexInLine] = +lineCreator[collectionInfo.method](upstream, dataIndex, dimInfo, groupByDimInfo, groupByVal); |
| 230 | } |
| 231 | if (dimInfo.needGatherValues) { |
| 232 | var val = upstream.retrieveValue(dataIndex, dimInfo.indexInUpstream); |
| 233 | dimInfo.gatherValue(groupByDimInfo, groupByVal, val); |
| 234 | } |
| 235 | } |
| 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]; |
nothing calls this directly
no test coverage detected
searching dependent graphs…