xiangdong Huang created IOTDB-85:
------------------------------------

             Summary: Using a long ID to represent device and sensor (and Path)
                 Key: IOTDB-85
                 URL: https://issues.apache.org/jira/browse/IOTDB-85
             Project: Apache IoTDB
          Issue Type: Improvement
            Reporter: xiangdong Huang


Now in IoTDB, all devices and sensors and their Paths are organized by String, 
as a result, we have many  `Map<String, Object>`  structures.

 

If we can convert the path to a long ID, it is helpful for saving memory and 
accelerate operations on Map.

 

However, because we support SQLs like `select * from root.*.a.b.*`, simply 
maping a string to a long is not enough, we have to consider the encoding 
method from a string to a long carefully to support the above SQLs.

 

Does anyone have good idea?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to