Documentation ¶
Overview ¶
Package zstd implements the ZSTD parquet compression codec.
Index ¶
Constants ¶
View Source
const ( // SpeedFastest will choose the fastest reasonable compression. // This is roughly equivalent to the fastest Zstandard mode. SpeedFastest = zstd.SpeedFastest // SpeedDefault is the default "pretty fast" compression option. // This is roughly equivalent to the default Zstandard mode (level 3). SpeedDefault = zstd.SpeedDefault // SpeedBetterCompression will yield better compression than the default. // Currently it is about zstd level 7-8 with ~ 2x-3x the default CPU usage. // By using this, notice that CPU usage may go up in the future. SpeedBetterCompression = zstd.SpeedBetterCompression // SpeedBestCompression will choose the best available compression option. // This will offer the best compression no matter the CPU cost. SpeedBestCompression = zstd.SpeedBestCompression )
View Source
const (
DefaultLevel = SpeedDefault
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Codec ¶
type Codec struct { Level Level // contains filtered or unexported fields }
func (*Codec) CompressionCodec ¶
func (c *Codec) CompressionCodec() format.CompressionCodec
type Level ¶
type Level = zstd.EncoderLevel
Click to show internal directories.
Click to hide internal directories.