(List<Object[]> items)
| 297 | } |
| 298 | |
| 299 | private BatchIterator<Row> biFromItems(List<Object[]> items) { |
| 300 | BatchIterator<Object[]> objectRows; |
| 301 | if (items.isEmpty()) { |
| 302 | objectRows = InMemoryBatchIterator.empty(null); |
| 303 | } else { |
| 304 | objectRows = InMemoryBatchIterator.of(items, null, false); |
| 305 | } |
| 306 | return objectRows.map(cells -> { |
| 307 | sharedRow.cells(cells); |
| 308 | return sharedRow; |
| 309 | }); |
| 310 | } |
| 311 | |
| 312 | public List<Symbol> outputs() { |
| 313 | return outputs; |