761417898 commented on code in PR #192: URL: https://github.com/apache/tsfile/pull/192#discussion_r1712952561
########## cpp/src/reader/aligned_chunk_reader.h: ########## @@ -0,0 +1,172 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * License); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +#ifndef READER_CHUNK_ALIGNED_READER_H +#define READER_CHUNK_ALIGNED_READER_H + +#include "common/allocator/my_string.h" +#include "common/tsfile_common.h" +#include "compress/compressor.h" +#include "encoding/decoder.h" +#include "file/read_file.h" +#include "reader/filter/filter.h" +#include "reader/ichunk_reader.h" + +namespace storage { + +class AlignedChunkReader : public IChunkReader { + public: + AlignedChunkReader() + : read_file_(nullptr), + time_chunk_meta_(nullptr), + value_chunk_meta_(nullptr), Review Comment: I added comments here. ``` private: // TODO: support reading more than one measurement in AlignedChunkReader. ChunkHeader value_chunk_header_; PageHeader cur_time_page_header_; PageHeader cur_value_page_header_; ``` -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
