统计数据集面数量, 下面写法感觉查询有点慢,有没有比较快的写法?
QueryParameter queryParameter = new QueryParameter();
queryParameter.setCursorType(CursorType.STATIC);
queryParameter.setResultFields(new String[]{"id"});
Recordset recordset = DatasetVector.query(queryParameter);
int count = recordset.getRecordCount();