Skip to content

Commit

Permalink
Reconstruct the file format in the file metadata (#90)
Browse files Browse the repository at this point in the history
* add new metadata format

* add new API for row group block metadata

* Clustering RowGroupMetaData and computing the timespan

* change row group block metadata api

* fix one bug

* Use an LRU list to manage deltaObjects within a file.

* re-add RowGroupReaderList for compatibility

* fix write bug

* fix bugs caused by lazy read

* Fix a bug that causes adding duplicate RowGroupReaders to a RecordReader

* Add api for DeltaObject and Measurement existence in FileReader

* Add RowGroupBlockMetaData Time Test

* make the test class of RowGroupBlockMetadtaTimeTest not avaiable

* compatibility for IoTDB

* set delta_object_id in RowGroupBlockMetaData optional

* modify FileReader,ValueReader

* add close method in RowGroupReader

* make version SNAPSHOT

* add time encode plain test

* make time encode TS_2DIFF

* fix bug in OverflowTimeFilter

* change tsfile version and magic words

* changed Naming style in tsFileIOWriter

* Formatting code in tsFileIOWriter
  • Loading branch information
liukun4515 committed Nov 30, 2017
1 parent 20b8b02 commit 12dd981
Show file tree
Hide file tree
Showing 31 changed files with 2,999 additions and 1,034 deletions.
729 changes: 729 additions & 0 deletions interface/thrift/cn/edu/tsinghua/tsfile/format/DeltaObject.java

Large diffs are not rendered by default.

577 changes: 258 additions & 319 deletions interface/thrift/cn/edu/tsinghua/tsfile/format/FileMetaData.java

Large diffs are not rendered by default.

Large diffs are not rendered by default.

179 changes: 107 additions & 72 deletions interface/thrift/cn/edu/tsinghua/tsfile/format/RowGroupMetaData.java

Large diffs are not rendered by default.

142 changes: 101 additions & 41 deletions interface/thrift/cn/edu/tsinghua/tsfile/format/TimeSeries.java

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 12dd981

Please sign in to comment.