Implement more data types and various fixes

This commit is contained in:
Christopher Schnick
2022-11-04 13:33:06 +01:00
parent 2cb3670b5b
commit 17feaf8a51
25 changed files with 306 additions and 75 deletions

View File

@@ -71,8 +71,9 @@ public class DataTableImpl extends DataSourceImpl implements DataTable {
.maxRows(maxRows)
.build();
con.performInputExchange(req, (QueryTableDataExchange.Response res, InputStream in) -> {
var r = new TypedDataStreamParser(info.getDataType());
r.parseStructures(in, TypedDataStructureNodeReader.of(info.getDataType()), nodes::add);
var r = new TypedDataStreamParser(res.getDataType());
r.parseStructures(in, TypedDataStructureNodeReader.of(res.getDataType()), nodes::add);
});
});
return ArrayNode.of(nodes);