Hi, 

Just a reminder that TimeSeries should also support bool, int, long, float and 
text values apart from double. 

The supported data types can be found in TSDataType class.

Best,
--
Jialin Qiao
School of Software, Tsinghua University

乔嘉林
清华大学 软件学院

> -----原始邮件-----
> 发件人: "Jack Tsai" <[email protected]>
> 发送时间: 2019-07-15 14:13:48 (星期一)
> 收件人: "[email protected]" <[email protected]>
> 抄送: 
> 主题: Support batched ingestion
> 
> Hi,
> 
> I recently start working on the issue 
> (https://issues.apache.org/jira/browse/IOTDB-13) which is going to implement 
> a batched writing interface.
> 
> The user could invoke the interface to write a series of data with the static 
> schema at once, which they could do as follows:
> 
> A class TimeSeries that has two columns: long[] times, double[] values with a 
> write method for user to load the data in it.
> 
> TimeSeries series = new TimeSeries((int)columnSize);
> 
> for(int i = 0; i < columnSize; i++) {
>   series.write((long) currentTime, (double) currentValue);
> }
> 
> TsFileWriter.write(series);
> 
> If you have any different idea or opinion, please welcome to discuss with me.
> 
> Best regards,
> Tsung-Han Tsai
> 

Reply via email to