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] Byte array data type HOT 4
- [Feature request] Allow Pandas >= 2 HOT 6
- sharding in iotdb HOT 1
- [Bug] device路径中包含关键字root, show devices 语句返回该device时,root未使用反引号引用 HOT 1
- [Bug] Error WALBuffer....WAL-Recover Fail to allocate wal node....OutOfMemoryError: Cannot reserve 16777216 bytes of direct buffer memory (allocated: 469771426, limit: 471859200) HOT 7
- 是否有mysql类似的max_execution_time 参数可以限制执行的最大时间以保护数据库 HOT 2
- 1.3.1版本能否提供一个arm64架构的docker镜像版本? HOT 3
- [Bug] A large number of error logs are output every minute. HOT 9
- [Bug] 1.3.1升级到1.3.2后报错 HOT 13
- AttributeError: module 'iotdb.thrift.common.ttypes' has no attribute 'TShowConfigurationTemplateResp' HOT 4
- [Bug] The built-in function MAX_BY cannot be used 无法使用内置函数MAX_BY HOT 2
- [Bug] An error occurred when executing getDeviceToStorageGroup():root is not a legal path HOT 3
- [Bug] DateTimeUtilsTest.getConvertDurationIncludingMonthUnit() tests are timezone dependent HOT 1
- [Bug] 授权失效 HOT 1
- [Improvement] Allow Unit Tests to be run in parallel
- Remove use of `maven.multiModuleProjectDirectory` property
- org.apache.commons.io.FileSystem.isLegalFileName(CharSequence candidate) method is unreasonable HOT 1
- For help:when compile IoTdb src code HOT 3
- tsfile 是否可以根据时间进行分割?
- 不存在时间序列的情况下,直接插入数据,为什么插入的整数类型会默认加上小数点 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.