Haonan Hou created IOTDB-2235:
---------------------------------

             Summary: Optimize the constructor of InsertRowsOfOneDevicePlan
                 Key: IOTDB-2235
                 URL: https://issues.apache.org/jira/browse/IOTDB-2235
             Project: Apache IoTDB
          Issue Type: Improvement
            Reporter: Haonan Hou


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