[GitHub] [incubator-iotdb] qiaojialin commented on issue #1461: 您好,请问一下我操作java API获取表字段类型的时候有问题? (How to get series data type using Java API)
qiaojialin commented on issue #1461: URL: https://github.com/apache/incubator-iotdb/issues/1461#issuecomment-654070828 > Not maintained?? don't we have UT to cover it? > > 我们这个接口没有再维护了?JDBC的接口还是应该维护吧。。 ResultSetMetaData metaData = resultSet.getMetaData(); metaData.getColumnLabel(); 这个是有的,那个 catalog 什么的没了 ![image](https://user-images.githubusercontent.com/7240743/86568183-11596d00-bf9f-11ea-829a-0ab206c922e0.png) This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-iotdb] qiaojialin commented on issue #1461: 您好,请问一下我操作java API获取表字段类型的时候有问题? (How to get series data type using Java API)
qiaojialin commented on issue #1461: URL: https://github.com/apache/incubator-iotdb/issues/1461#issuecomment-654066277 preparedStatement 最近没维护,不确定能不能正常工作。。如果每次写入都要查一下元数据会比较慢,可以用 Session 的 insertRecords 接口。String values 这个接口会在服务器端自动推断类型,只要提前注册好序列就可以了。 如果想写入的时候指定类型,可以查出来类型在客户端缓存,这个查询可以用 show timeseries This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [incubator-iotdb] qiaojialin commented on issue #1461: 您好,请问一下我操作java API获取表字段类型的时候有问题?
qiaojialin commented on issue #1461: URL: https://github.com/apache/incubator-iotdb/issues/1461#issuecomment-654054037 这个应该没维护了 现在获取结果集列名的方法,JDBC 和 Session 不太一样,可以参考 https://raw.githubusercontent.com/apache/incubator-iotdb/master/example/jdbc/src/main/java/org/apache/iotdb/JDBCExample.java https://github.com/apache/incubator-iotdb/blob/master/example/session/src/main/java/org/apache/iotdb/SessionExample.java 推荐使用 Session 的 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org