JackieTien97 commented on a change in pull request #652: [386] Vectorize the
raw data query process
URL: https://github.com/apache/incubator-iotdb/pull/652#discussion_r361097398
##########
File path:
server/src/main/java/org/apache/iotdb/db/query/reader/chunkRelated/DiskChunkReader.java
##########
@@ -20,37 +20,39 @@
import java.io.IOException;
import org.apache.iotdb.db.query.reader.IPointReader;
+import
org.apache.iotdb.db.query.reader.resourceRelated.NewUnseqResourceMergeReader;
import org.apache.iotdb.db.utils.TimeValuePair;
import org.apache.iotdb.db.utils.TimeValuePairUtils;
import org.apache.iotdb.tsfile.read.common.BatchData;
-import org.apache.iotdb.tsfile.read.reader.chunk.ChunkReader;
+import org.apache.iotdb.tsfile.read.reader.IBatchReader;
+import org.apache.iotdb.tsfile.read.reader.chunk.AbstractChunkReader;
/**
* To read chunk data on disk, this class implements an interface {@link
IPointReader} based on the
- * data reader {@link ChunkReader}.
+ * data reader {@link AbstractChunkReader}.
* <p>
* Note that <code>ChunkReader</code> is an abstract class with three concrete
classes, two of which
* are used here: <code>ChunkReaderWithoutFilter</code> and
<code>ChunkReaderWithFilter</code>.
* <p>
- * This class is used in {@link
org.apache.iotdb.db.query.reader.resourceRelated.UnseqResourceMergeReader}.
+ * This class is used in {@link NewUnseqResourceMergeReader}.
*/
-public class DiskChunkReader implements IPointReader {
+public class DiskChunkReader implements IPointReader, IBatchReader {
- private ChunkReader chunkReader;
+ private AbstractChunkReader AbstractChunkReader;
Review comment:
The first letter of variable should be lowercase
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services