rle

package
v0.0.0-...-3dde240 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package rle implements the hybrid RLE/Bit-Packed encoding employed in repetition and definition levels, dictionary indexed data pages, and boolean values in the PLAIN encoding.

https://github.com/apache/parquet-format/blob/master/Encodings.md#run-length-encoding--bit-packing-hybrid-rle--3

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DictionaryEncoding

type DictionaryEncoding struct {
	encoding.NotSupported
}

func (*DictionaryEncoding) DecodeInt32

func (e *DictionaryEncoding) DecodeInt32(dst []int32, src []byte) ([]int32, error)

func (*DictionaryEncoding) EncodeInt32

func (e *DictionaryEncoding) EncodeInt32(dst []byte, src []int32) ([]byte, error)

func (*DictionaryEncoding) Encoding

func (e *DictionaryEncoding) Encoding() format.Encoding

func (*DictionaryEncoding) String

func (e *DictionaryEncoding) String() string

type Encoding

type Encoding struct {
	encoding.NotSupported
	BitWidth int
}

func (*Encoding) DecodeBoolean

func (e *Encoding) DecodeBoolean(dst []byte, src []byte) ([]byte, error)

func (*Encoding) DecodeInt32

func (e *Encoding) DecodeInt32(dst []int32, src []byte) ([]int32, error)

func (*Encoding) DecodeLevels

func (e *Encoding) DecodeLevels(dst []uint8, src []byte) ([]uint8, error)

func (*Encoding) EncodeBoolean

func (e *Encoding) EncodeBoolean(dst []byte, src []byte) ([]byte, error)

func (*Encoding) EncodeInt32

func (e *Encoding) EncodeInt32(dst []byte, src []int32) ([]byte, error)

func (*Encoding) EncodeLevels

func (e *Encoding) EncodeLevels(dst []byte, src []uint8) ([]byte, error)

func (*Encoding) Encoding

func (e *Encoding) Encoding() format.Encoding

func (*Encoding) String

func (e *Encoding) String() string

Jump to

Keyboard shortcuts

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