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

haonan pushed a commit to branch add_lz4_doc
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/add_lz4_doc by this push:
     new 95e8a4e  add lz4 to cpp and python client
95e8a4e is described below

commit 95e8a4e3718e1b6b2874cec819af34c460d13700
Author: HTHou <[email protected]>
AuthorDate: Tue Oct 27 11:56:36 2020 +0800

    add lz4 to cpp and python client
---
 client-cpp/src/main/IOTDBSession.h    | 2 +-
 client-py/src/utils/IoTDBConstants.py | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/client-cpp/src/main/IOTDBSession.h 
b/client-cpp/src/main/IOTDBSession.h
index a88c1c0..cf05e36 100644
--- a/client-cpp/src/main/IOTDBSession.h
+++ b/client-cpp/src/main/IOTDBSession.h
@@ -92,7 +92,7 @@ namespace CompressionType{
 
     enum CompressionType
     {
-        UNCOMPRESSED, SNAPPY, GZIP, LZO, SDT, PAA, PLA
+        UNCOMPRESSED, SNAPPY, GZIP, LZO, SDT, PAA, PLA, LZ4
     };
 }
 namespace TSDataType{
diff --git a/client-py/src/utils/IoTDBConstants.py 
b/client-py/src/utils/IoTDBConstants.py
index 7e31262..f8b4f15 100644
--- a/client-py/src/utils/IoTDBConstants.py
+++ b/client-py/src/utils/IoTDBConstants.py
@@ -50,3 +50,4 @@ class Compressor(Enum):
     SDT = 4
     PAA = 5
     PLA = 6
+    LZ4 = 7

Reply via email to