Hi, I have added the delete interface for the Session API. I followed the pattern which is similar to the insert interface.
Please have a check whether it is conform to the requirement. I would implement the query interface for Session API if I have more time. Best, Tsung-Han Tsai ________________________________ 寄件者: Jialin Qiao <qj...@mails.tsinghua.edu.cn> 寄件日期: 2019年9月2日 下午 06:48 收件者: dev@iotdb.apache.org <dev@iotdb.apache.org> 主旨: Re: Enrich Session interfaces Hi Tsung Han, The new insert interface only inserts one row data, not in batch, for example : (deviceId, time, s1, s2,s3, s1_value, s2_value, s3_value). Besides, the Session interfaces are only for IoTDB, not TsFile. Best, -- Jialin Qiao School of Software, Tsinghua University 乔嘉林 清华大学 软件学院 > -----原始邮件----- > 发件人: "Jack Tsai" <jack870...@outlook.com> > 发送时间: 2019-09-02 18:44:34 (星期一) > 收件人: "dev@iotdb.apache.org" <dev@iotdb.apache.org> > 抄送: > 主题: Re: Enrich Session interfaces > > Hi, > > I wonder is the performance of this new kind of insert interface different > from the insert RowBatch interface? Or it is just a more convenient way to > insert batched data? > > Best regards, > Tsung Han Tsai > > 取得 iOS 版 Outlook<https://aka.ms/o0ukef> > ________________________________ > 寄件者: Jialin Qiao <qj...@mails.tsinghua.edu.cn> > 寄件日期: Monday, September 2, 2019 4:35:55 PM > 收件者: dev@iotdb.apache.org <dev@iotdb.apache.org> > 主旨: Enrich Session interfaces > > Hi, > > > I got some feedback from our users in Hunan province. Except for insertBatch, > they want an easier interface to insert data. Therefore, I submit a PR [1] to > add an insert interface, which is easier to understand than the insert > RowBatch interface. > > > Moreover, I have created an issue [2] to enrich the Session interfaces, > looking forward to more contributors for the session interfaces. > > > [1] https://github.com/apache/incubator-iotdb/pull/367 > [2] https://issues.apache.org/jira/browse/IOTDB-191 > > Best, > -- > Jialin Qiao > School of Software, Tsinghua University > > 乔嘉林 > 清华大学 软件学院