lz4

package
v0.0.0-...-5d42db8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 12, 2023 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Overview

Package lz4 implements the LZ4_RAW parquet compression codec.

Index

Constants

View Source
const (
	Fast   = lz4.Fast
	Level1 = lz4.Level1
	Level2 = lz4.Level2
	Level3 = lz4.Level3
	Level4 = lz4.Level4
	Level5 = lz4.Level5
	Level6 = lz4.Level6
	Level7 = lz4.Level7
	Level8 = lz4.Level8
	Level9 = lz4.Level9
)
View Source
const (
	DefaultLevel = Fast
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Codec

type Codec struct {
	Level Level
}

func (*Codec) CompressionCodec

func (c *Codec) CompressionCodec() format.CompressionCodec

func (*Codec) Decode

func (c *Codec) Decode(dst, src []byte) ([]byte, error)

func (*Codec) Encode

func (c *Codec) Encode(dst, src []byte) ([]byte, error)

func (*Codec) String

func (c *Codec) String() string

type Level

type Level = lz4.CompressionLevel

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL