You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ha...@apache.org on 2022/03/12 12:40:11 UTC
[iotdb] branch master updated (f75243c -> 5aa3f53)
This is an automated email from the ASF dual-hosted git repository.
haonan pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git.
from f75243c [IOTDB-2728] fix influxdb-protocol yaml (#5206)
add 5aa3f53 [IOTDB-2461] Zigzag Encoding for INT 32 and INT 64 (#4939)
No new revisions were added by this update.
Summary of changes:
client-py/iotdb/utils/IoTDBConstants.py | 1 +
docs/UserGuide/Data-Concept/Encoding.md | 7 +-
docs/zh/UserGuide/Data-Concept/Encoding.md | 7 +-
.../resources/conf/iotdb-engine.properties | 4 +-
.../org/apache/iotdb/db/utils/SchemaUtils.java | 1 +
.../iotdb/tsfile/encoding/decoder/Decoder.java | 10 ++
.../tsfile/encoding/decoder/IntZigzagDecoder.java | 94 +++++++++++++++++
.../tsfile/encoding/decoder/LongZigzagDecoder.java | 101 +++++++++++++++++++
.../tsfile/encoding/encoder/IntZigzagEncoder.java | 101 +++++++++++++++++++
.../tsfile/encoding/encoder/LongZigzagEncoder.java | 111 +++++++++++++++++++++
.../tsfile/encoding/encoder/TSEncodingBuilder.java | 22 ++++
.../tsfile/file/metadata/enums/TSEncoding.java | 5 +-
...pDecoderTest.java => IntZigzagDecoderTest.java} | 40 ++++----
...DecoderTest.java => LongZigzagDecoderTest.java} | 55 +++++-----
.../iotdb/tsfile/write/TsFileReadWriteTest.java | 3 +-
15 files changed, 505 insertions(+), 57 deletions(-)
create mode 100644 tsfile/src/main/java/org/apache/iotdb/tsfile/encoding/decoder/IntZigzagDecoder.java
create mode 100644 tsfile/src/main/java/org/apache/iotdb/tsfile/encoding/decoder/LongZigzagDecoder.java
create mode 100644 tsfile/src/main/java/org/apache/iotdb/tsfile/encoding/encoder/IntZigzagEncoder.java
create mode 100644 tsfile/src/main/java/org/apache/iotdb/tsfile/encoding/encoder/LongZigzagEncoder.java
copy tsfile/src/test/java/org/apache/iotdb/tsfile/encoding/decoder/{BitmapDecoderTest.java => IntZigzagDecoderTest.java} (71%)
copy tsfile/src/test/java/org/apache/iotdb/tsfile/encoding/decoder/{BitmapDecoderTest.java => LongZigzagDecoderTest.java} (60%)