This is an automated email from the ASF dual-hosted git repository.
jiangtian pushed a commit to branch auto_compressor
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/auto_compressor by this push:
new 4d68d7b47b1 add uncompressor
4d68d7b47b1 is described below
commit 4d68d7b47b19b20d126f2bdb98fe3fef86c3e0f8
Author: Tian Jiang <[email protected]>
AuthorDate: Mon May 29 11:45:02 2023 +0800
add uncompressor
---
.../src/main/java/org/apache/iotdb/tsfile/compress/IUnCompressor.java | 3 +++
1 file changed, 3 insertions(+)
diff --git
a/tsfile/src/main/java/org/apache/iotdb/tsfile/compress/IUnCompressor.java
b/tsfile/src/main/java/org/apache/iotdb/tsfile/compress/IUnCompressor.java
index 555e941ac5f..e46ea0c7e23 100644
--- a/tsfile/src/main/java/org/apache/iotdb/tsfile/compress/IUnCompressor.java
+++ b/tsfile/src/main/java/org/apache/iotdb/tsfile/compress/IUnCompressor.java
@@ -19,6 +19,7 @@
package org.apache.iotdb.tsfile.compress;
+import org.apache.iotdb.tsfile.compress.auto.AutoUncompressor;
import
org.apache.iotdb.tsfile.exception.compress.CompressionTypeNotSupportedException;
import org.apache.iotdb.tsfile.file.metadata.enums.CompressionType;
@@ -59,6 +60,8 @@ public interface IUnCompressor {
return new ZstdUnCompressor();
case LZMA2:
return new LZMA2UnCompressor();
+ case AUTO:
+ return new AutoUncompressor();
default:
throw new CompressionTypeNotSupportedException(name.toString());
}