Returns a Collector that accumulates the input elements into a SqlNodeList, with zero position. @param Type of the input elements @return a Collector that collects all the input elements into a SqlNodeList, in encounter order
()
| 367 | * {@link SqlNodeList}, in encounter order |
| 368 | */ |
| 369 | public static <T extends SqlNode> Collector<T, ArrayList<@Nullable SqlNode>, SqlNodeList> |
| 370 | toList() { |
| 371 | return toList(SqlParserPos.ZERO); |
| 372 | } |
| 373 | |
| 374 | /** |
| 375 | * Returns a {@code Collector} that accumulates the input elements into a |