From a503925c04f5aa7e9c3c6bfd2d96f0b6baaeefc2 Mon Sep 17 00:00:00 2001 From: xjz17 <67282793+xjz17@users.noreply.github.com> Date: Tue, 11 Apr 2023 17:05:19 +0800 Subject: [PATCH] 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