common

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2021 License: Apache-2.0, Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BitWidth

func BitWidth(ui64 uint64) (width int32)

BitWidth returns bits count required to accommodate given value.

func Compress

func Compress(compressionType parquet.CompressionCodec, data []byte) ([]byte, error)

Compress compresses given data.

func ToSliceValue

func ToSliceValue(values []interface{}, parquetType parquet.Type) interface{}

ToSliceValue converts values to a slice value.

func Uncompress

func Uncompress(compressionType parquet.CompressionCodec, data []byte) ([]byte, error)

Uncompress uncompresses given data.

Types

This section is empty.

Jump to

Keyboard shortcuts

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