Comments (6)
这个应该没维护了
现在获取结果集列名的方法,JDBC 和 Session 不太一样,可以参考
推荐使用 Session 的
from iotdb.
收到,感谢您的回复,我现在的需求是要提前获取列的类型,然后再插入数据的时候用preparedStatement指定类型,请问有这块的指导资料吗?
from iotdb.
Not maintained?? don't we have UT to cover it?
我们这个接口没有再维护了?JDBC的接口还是应该维护吧。。
这个应该没维护了
现在获取结果集列名的方法,JDBC 和 Session 不太一样,可以参考
推荐使用 Session 的
我现在的需求是要提前获取列的类型,然后再插入数据的时候用preparedStatement指定类型,请问有这块的指导资料吗?
看下这个文档的show timeseries语法:
https://iotdb.apache.org/UserGuide/Master/Operation%20Manual/SQL%20Reference.html
此外session有个API是fetchMetadata 应该也可以。
from iotdb.
preparedStatement 最近没维护,不确定能不能正常工作。。如果每次写入都要查一下元数据会比较慢,可以用 Session 的 insertRecords 接口。String values 这个接口会在服务器端自动推断类型,只要提前注册好序列就可以了。
如果想写入的时候指定类型,可以查出来类型在客户端缓存,这个查询可以用 show timeseries
from iotdb.
收到, @jixuan1989 @qiaojialin 感谢回复!感觉咱们现在主要维护session这块了,我看一下,能提供一下交流群吗,这样方便交流
from iotdb.
Not maintained?? don't we have UT to cover it?
我们这个接口没有再维护了?JDBC的接口还是应该维护吧。。
ResultSetMetaData metaData = resultSet.getMetaData();
metaData.getColumnLabel();
这个是有的,那个 catalog 什么的没了
from iotdb.
Related Issues (20)
- [Feature request] Support for Apache Arrow HOT 2
- [Bug] 0.14.0版本,集群部署iotdb,不定时出现数据库无法操作的问题,报错Sink handle is aborted;Driver was interrupted HOT 2
- [Bug] WAL目录清理线程异常,目录持续变大,最终导致数据无法写入 HOT 5
- 1.2.2版本flink-sql-cdc bug HOT 1
- how to make standalone version managed by systemd in centos7,i have tried,but always failed HOT 2
- [Bug] iotdb 同步时不能自动创建时间序列 HOT 1
- [Bug] Running compaction task failed HOT 2
- iotdb 1.1.2 扩容失败 remove 扩容的节点 也不行 HOT 2
- sessionPool.deleteTimeseries操作删除空的路径列表时,会报错 HOT 3
- [Bug] 1.2.2版本SQL 命令行终端 (CLI)参数不生效 HOT 2
- IoTDB升级,从0.13.4升级到1.2.2版本,使用load迁移数据报错 HOT 2
- [Bug] a lot of files in unsequence folder after old data migration HOT 1
- Discrepancy in Count Query Results Between Grafana-Plugins and IoTDB CLI HOT 5
- Connection refused to client HOT 2
- Connection refused to client HOT 4
- How does apache IOTDB query the time of the last change of data value? HOT 3
- IoTDB1.2.2版本存在评分7.0以上漏洞 HOT 3
- kubernetes部署iotdb遇到的问题 HOT 1
- [Feature request] Add COUNT NODE query on grafana visualization HOT 1
- [Bug] Query error, An error occured within the plugin HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iotdb.