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.
Index ¶
- type DictionaryEncoding
- type Encoding
- func (e *Encoding) DecodeBoolean(dst []byte, src []byte) ([]byte, error)
- func (e *Encoding) DecodeInt32(dst []int32, src []byte) ([]int32, error)
- func (e *Encoding) DecodeLevels(dst []uint8, src []byte) ([]uint8, error)
- func (e *Encoding) EncodeBoolean(dst []byte, src []byte) ([]byte, error)
- func (e *Encoding) EncodeInt32(dst []byte, src []int32) ([]byte, error)
- func (e *Encoding) EncodeLevels(dst []byte, src []uint8) ([]byte, error)
- func (e *Encoding) Encoding() format.Encoding
- func (e *Encoding) String() string
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 (*Encoding) DecodeInt32 ¶
func (*Encoding) DecodeLevels ¶
func (*Encoding) EncodeBoolean ¶
func (*Encoding) EncodeInt32 ¶
func (*Encoding) EncodeLevels ¶
Click to show internal directories.
Click to hide internal directories.