You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by hx...@apache.org on 2019/05/01 04:51:49 UTC

[incubator-iotdb] branch refactor_overflow updated: add comment

This is an automated email from the ASF dual-hosted git repository.

hxd pushed a commit to branch refactor_overflow
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git


The following commit(s) were added to refs/heads/refactor_overflow by this push:
     new aa5189a  add comment
aa5189a is described below

commit aa5189ac49b22df99e2af657b9dddd8c3da5e6fe
Author: xiangdong huang <sa...@gmail.com>
AuthorDate: Wed May 1 12:51:38 2019 +0800

    add comment
---
 .../org/apache/iotdb/tsfile/read/reader/series/FileSeriesReader.java | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/tsfile/src/main/java/org/apache/iotdb/tsfile/read/reader/series/FileSeriesReader.java b/tsfile/src/main/java/org/apache/iotdb/tsfile/read/reader/series/FileSeriesReader.java
index 110fec3..2cd0f58 100644
--- a/tsfile/src/main/java/org/apache/iotdb/tsfile/read/reader/series/FileSeriesReader.java
+++ b/tsfile/src/main/java/org/apache/iotdb/tsfile/read/reader/series/FileSeriesReader.java
@@ -31,12 +31,13 @@ import org.apache.iotdb.tsfile.read.reader.chunk.ChunkReader;
  * Series reader is used to query one series of one tsfile.
  */
 public abstract class FileSeriesReader {
-
+  //chunk Loader is for loading data from disk
   protected ChunkLoader chunkLoader;
   protected List<ChunkMetaData> chunkMetaDataList;
+  //ChunkReader is for parsing data from memory to points (BatchData)
   protected ChunkReader chunkReader;
   private int chunkToRead;
-
+  //data is a reference of the data in chunkReader
   private BatchData data;
 
   /**