Hi, all.
I’m now working on the query process of IOTDB. This PR optimizes 
value-filtering range queries.The related JIRA issue is 
<https://issues.apache.org/jira/projects/IOTDB/issues/IOTDB-6?filter=allopenissues
 
<https://issues.apache.org/jira/projects/IOTDB/issues/IOTDB-6?filter=allopenissues>>.
The main changes are :
1) Replace the method ```TsPrimitiveType getValueInTimestamp(long timestamp) 
throws IOException;``` in class ```EngineReaderByTimeStamp``` with ```Object 
getValueInTimestamp(long timestamp) throws IOException;```.

Because construct the TsPrimitiveType will consume more time than Object.

2) Push the implementation of ReaderByTimestamp to lower level. That is to use 
pageHeader filter some pages. 

3) Implement the optimization method which is used in TsFile.


I would be very glad to discuss the query optimization with you all.

Regards,
Yue Su.

Reply via email to