Documentation ¶
Index ¶
- func DeltaByteArrayEncode(bytesSlices [][]byte) (data []byte)
- func DeltaEncode(values interface{}, parquetType parquet.Type) []byte
- func DeltaLengthByteArrayEncode(bytesSlices [][]byte) (data []byte)
- func PlainEncode(values interface{}, parquetType parquet.Type) []byte
- func RLEBitPackedHybridEncode(values interface{}, bitWidth int32, parquetType parquet.Type) []byte
- func RLEDictEncode(values []interface{}, parquetType parquet.Type, bitWidth int32) (dictPageData, dataPageData []byte, dictValueCount int32, indexBitWidth uint8)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeltaByteArrayEncode ¶
DeltaByteArrayEncode encodes sequence of strings values specified in https://github.com/apache/parquet-format/blob/master/Encodings.md#delta-strings-delta_byte_array--7
Supported Types: BYTE_ARRAY
func DeltaEncode ¶
DeltaEncode encodes values specified in https://github.com/apache/parquet-format/blob/master/Encodings.md#delta-encoding-delta_binary_packed--5
Supported Types: INT32, INT64.
func DeltaLengthByteArrayEncode ¶
DeltaLengthByteArrayEncode encodes bytes slices specified in https://github.com/apache/parquet-format/blob/master/Encodings.md#delta-length-byte-array-delta_length_byte_array--6
Supported Types: BYTE_ARRAY
func PlainEncode ¶
PlainEncode encodes values specified in https://github.com/apache/parquet-format/blob/master/Encodings.md#plain-plain--0
Supported Types: BOOLEAN, INT32, INT64, FLOAT, DOUBLE, BYTE_ARRAY
func RLEBitPackedHybridEncode ¶
RLEBitPackedHybridEncode encodes values specified in https://github.com/apache/parquet-format/blob/master/Encodings.md#run-length-encoding--bit-packing-hybrid-rle--3
Supported Types: INT32, INT64
func RLEDictEncode ¶
func RLEDictEncode(values []interface{}, parquetType parquet.Type, bitWidth int32) (dictPageData, dataPageData []byte, dictValueCount int32, indexBitWidth uint8)
RLEDictEncode encodes values specified in https://github.com/apache/parquet-format/blob/master/Encodings.md#dictionary-encoding-plain_dictionary--2-and-rle_dictionary--8 and returns dictionary page data and data page data.
Dictionary page data contains PLAIN encodeed slice of uniquely fully defined non-nil values. Data page data contains RLE/Bit-Packed Hybrid encoded indices of fully defined non-nil values.
Supported Types: BOOLEAN, INT32, INT64, FLOAT, DOUBLE, BYTE_ARRAY
Types ¶
This section is empty.