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 2023/04/11 09:05:24 UTC
[iotdb-client-go] branch main updated: add 2 encoding algorithms SPRINTZ and RLBE and 1 compression algorithm LZMA2 (#82)
This is an automated email from the ASF dual-hosted git repository.
haonan pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iotdb-client-go.git
The following commit(s) were added to refs/heads/main by this push:
new a503925 add 2 encoding algorithms SPRINTZ and RLBE and 1 compression algorithm LZMA2 (#82)
a503925 is described below
commit a503925c04f5aa7e9c3c6bfd2d96f0b6baaeefc2
Author: xjz17 <67...@users.noreply.github.com>
AuthorDate: Tue Apr 11 17:05:19 2023 +0800
add 2 encoding algorithms SPRINTZ and RLBE and 1 compression algorithm LZMA2 (#82)
---
client/protocol.go | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/client/protocol.go b/client/protocol.go
index 7282a3e..883f9ae 100644
--- a/client/protocol.go
+++ b/client/protocol.go
@@ -45,6 +45,11 @@ const (
GORILLA_V1 TSEncoding = 6
REGULAR TSEncoding = 7
GORILLA TSEncoding = 8
+ ZIGZAG TSEncoding = 9
+ FREQ TSEncoding = 10
+ CHIMP TSEncoding = 11
+ SPRINTZ TSEncoding = 12
+ RLBE TSEncoding = 13
)
const (
@@ -57,6 +62,7 @@ const (
PLA TSCompressionType = 6
LZ4 TSCompressionType = 7
ZSTD TSCompressionType = 8
+ LZMA2 TSCompressionType = 9
)
// TSStatusCode
@@ -195,4 +201,4 @@ const (
CqAlreadyActive int32 = 1401
CqAlreadyExist int32 = 1402
CqUpdateLastExecTimeError int32 = 1403
-)
+)
\ No newline at end of file