[ 
https://issues.apache.org/jira/browse/IOTDB-2235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17471996#comment-17471996
 ] 

黄志洋 commented on IOTDB-2235:
----------------------------

i want to do this issue 

> Optimize the constructor of InsertRowsOfOneDevicePlan
> -----------------------------------------------------
>
>                 Key: IOTDB-2235
>                 URL: https://issues.apache.org/jira/browse/IOTDB-2235
>             Project: Apache IoTDB
>          Issue Type: Improvement
>          Components: Core/Engine
>            Reporter: Haonan Hou
>            Priority: Minor
>              Labels: easy-fix
>
> Currently the constructor of InsertRowsOfOneDevicePlan is 
> {code:java}
> public InsertRowsOfOneDevicePlan(
> PartialPath deviceId,
> Long[] insertTimes,
> List<List<String>> measurements,
> ByteBuffer[] insertValues)
> throws QueryProcessException {}{code}
> We can change it to 
> {code:java}
> public InsertRowsOfOneDevicePlan(
> PartialPath deviceId,
> List<Long> insertTimes,
> List<List<String>> measurements,
> List<ByteBuffer> insertValues)
> throws QueryProcessException {}{code}
> So that we don't need to call toArray in TSServiceImpl when construct the new 
> InsertRowsOfOneDevicePlan. 



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

Reply via email to