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)
- OpenSSL version for IoTDB-Client CPP Example build faliure HOT 4
- [Feature request] Optimized code ASTVisitor.java HOT 1
- [Bug] Inconsistency in query results based on the environment HOT 2
- [Bug] Failed to run start-cli.bat on Windows10 HOT 1
- How To backup/restore cluster HOT 2
- [Bug] iotdb 压缩线程处理异常之后,会无限处理错误数据。手动删除对应的序列也没用 HOT 7
- [Bug] insertTablet http api lost data event return SUCCESS_STATUS HOT 6
- [Bug] 应该不算是一个bug HOT 1
- grafana add new data sorce error HOT 2
- [Bug] 在Rocky Linux无法启动 HOT 1
- 突然停电后,iotdb重启失败 HOT 2
- [Bug] NPE when deleting timeseries via Java API HOT 3
- iotdb支持ambari组件 HOT 3
- For Hdfs Integrating with IoTDB no support document avilable for IoTdb higher version above 0.13.x HOT 1
- 昨天运行了半天,早上出现的问题ERROR o.a.t.s.TThreadPoolServer$WorkerProcess:258 HOT 4
- [Bug] 当IoTDB重启的时候,Session范例的连接IoTDB的代码,将无法再远程连接上IoTDB HOT 13
- 分组查询时,时间跨度过大会导致服务器崩溃 HOT 1
- [Bug] 写UDAF的时候,如果不加group by level就能正常接收参数,如果加了group by level就报301 HOT 1
- [Feature request] 支持单机版简化部署 HOT 1
- WARN o.a.ratis.util.LogUtils:124 - 3: Failed requestVote 1->3#0
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.