MCPcopy Create free account
hub / github.com/apache/paimon-rust / file_compression

Method file_compression

crates/paimon/src/spec/core_options.rs:350–355  ·  view source on GitHub ↗

File compression codec (e.g. "lz4", "zstd", "snappy", "none"). Default is "zstd".

(&self)

Source from the content-addressed store, hash-verified

348 /// File compression codec (e.g. "lz4", "zstd", "snappy", "none").
349 /// Default is "zstd".
350 pub fn file_compression(&self) -> &str {
351 self.options
352 .get(FILE_COMPRESSION_OPTION)
353 .map(String::as_str)
354 .unwrap_or("zstd")
355 }
356
357 /// Zstd compression level. Only meaningful when `file.compression` is `"zstd"`.
358 /// Default is 1 (matching Paimon Java).

Callers 3

prepare_commitMethod · 0.80
newMethod · 0.80
newMethod · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected