You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "Haonan Hou (Jira)" <ji...@apache.org> on 2022/03/28 04:01:00 UTC

[jira] [Created] (IOTDB-2815) Add a new interface of insertRecord without TsDataType

Haonan Hou created IOTDB-2815:
---------------------------------

             Summary: Add a new interface of insertRecord without TsDataType
                 Key: IOTDB-2815
                 URL: https://issues.apache.org/jira/browse/IOTDB-2815
             Project: Apache IoTDB
          Issue Type: New Feature
          Components: Client/Java
            Reporter: Haonan Hou


See discussion here https://github.com/apache/iotdb/discussions/5352
It is possible to add a Syntactic sugar about this syntactic sugar.
{code:java}
insertRecord(String deviceId, long time, List<String> measurements, List<Object> values)
{code}

Just use the actual Object type of values to infer the TsDataTypes in the Session client, and then send the values and TsDataTypes to server.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)