提交 765537af 编写于 作者: Z zyyang

change

上级 15229d14
...@@ -44,9 +44,10 @@ public class TSDBJNIConnectorTest { ...@@ -44,9 +44,10 @@ public class TSDBJNIConnectorTest {
} }
rowData = new TSDBResultSetRowData(columnSize); rowData = new TSDBResultSetRowData(columnSize);
// iterate resultSet // iterate resultSet
while (next(connector, pSql)) { for (int i = 0; next(connector, pSql); i++) {
System.out.println(rowData.getColSize()); System.out.println("col[" + i + "] size: " + rowData.getColSize());
rowData.getData().stream().forEach(System.out::println); rowData.getData().stream().forEach(col -> System.out.print(col + "\t"));
System.out.println();
} }
// close resultSet // close resultSet
code = connector.freeResultSet(pSql); code = connector.freeResultSet(pSql);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册