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 Decoder
- func (d *Decoder) BitWidth() int
- func (d *Decoder) DecodeBoolean(data []bool) (int, error)
- func (d *Decoder) DecodeInt16(data []int16) (int, error)
- func (d *Decoder) DecodeInt32(data []int32) (int, error)
- func (d *Decoder) DecodeInt64(data []int64) (int, error)
- func (d *Decoder) DecodeInt8(data []int8) (int, error)
- func (d *Decoder) Read(b []byte) (int, error)
- func (d *Decoder) ReadByte() (byte, error)
- func (d *Decoder) Reset(r io.Reader)
- func (d *Decoder) SetBitWidth(bitWidth int)
- type DictionaryEncoding
- type Encoder
- func (e *Encoder) BitWidth() int
- func (e *Encoder) EncodeBoolean(data []bool) error
- func (e *Encoder) EncodeInt16(data []int16) error
- func (e *Encoder) EncodeInt32(data []int32) error
- func (e *Encoder) EncodeInt64(data []int64) error
- func (e *Encoder) EncodeInt8(data []int8) error
- func (e *Encoder) Reset(w io.Writer)
- func (e *Encoder) SetBitWidth(bitWidth int)
- func (e *Encoder) Write(b []byte) (int, error)
- func (e *Encoder) WriteByte(b byte) error
- func (e *Encoder) WriteUvarint(u uint64) (int, error)
- type Encoding
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Decoder ¶
type Decoder struct { encoding.NotSupportedDecoder // contains filtered or unexported fields }
func NewDecoder ¶
func (*Decoder) SetBitWidth ¶
type DictionaryEncoding ¶
type DictionaryEncoding struct { }
func (*DictionaryEncoding) Encoding ¶
func (e *DictionaryEncoding) Encoding() format.Encoding
func (*DictionaryEncoding) NewDecoder ¶
func (e *DictionaryEncoding) NewDecoder(r io.Reader) encoding.Decoder
func (*DictionaryEncoding) NewEncoder ¶
func (e *DictionaryEncoding) NewEncoder(w io.Writer) encoding.Encoder
func (*DictionaryEncoding) String ¶
func (e *DictionaryEncoding) String() string
type Encoder ¶
type Encoder struct { encoding.NotSupportedEncoder // contains filtered or unexported fields }
func NewEncoder ¶
func (*Encoder) EncodeBoolean ¶
func (*Encoder) EncodeInt16 ¶
func (*Encoder) EncodeInt32 ¶
func (*Encoder) EncodeInt64 ¶
func (*Encoder) EncodeInt8 ¶
func (*Encoder) SetBitWidth ¶
Click to show internal directories.
Click to hide internal directories.