zstd

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

README

parquet-go-zstd

Go Reference

This library implements the Zstd compression algorithm for github.com/fraugster/parquet-go. By default, parquet-go library only supports GZIP and SNAPPY as compression algorithms to minimize the list of dependencies.

All you need to do is import this package into your program and the compression algorithm will be automatically available in parquet-go.

import (
    _ "github.com/akrennmair/parquet-go-zstd" // registers the Zstd block compressor with parquet-go
)

License

See the file LICENSE for further license information.

Author

Andreas Krennmair ak@synflood.at

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ZstdBlockCompressor

type ZstdBlockCompressor struct {
	// contains filtered or unexported fields
}

func NewZstdBlockCompressor

func NewZstdBlockCompressor() *ZstdBlockCompressor

func (*ZstdBlockCompressor) CompressBlock

func (c *ZstdBlockCompressor) CompressBlock(data []byte) ([]byte, error)

func (*ZstdBlockCompressor) DecompressBlock

func (c *ZstdBlockCompressor) DecompressBlock(data []byte) ([]byte, error)

Jump to

Keyboard shortcuts

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