| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
DataFrame.IO.Parquet.Encoding
Synopsis
- ceilLog2 :: Int -> Int
- bitWidthForMaxLevel :: Int -> Int
- bytesForBW :: Int -> Int
- unpackBitPacked :: Int -> Int -> ByteString -> ([Word32], ByteString)
- extractBits :: Int -> Int -> ByteString -> [Word32]
- decodeRLEBitPackedHybrid :: Int -> Int -> ByteString -> ([Word32], ByteString)
- decodeDictIndicesV1 :: Int -> Int -> ByteString -> (Vector Int, ByteString)
Documentation
bitWidthForMaxLevel :: Int -> Int Source #
bytesForBW :: Int -> Int Source #
unpackBitPacked :: Int -> Int -> ByteString -> ([Word32], ByteString) Source #
extractBits :: Int -> Int -> ByteString -> [Word32] Source #
LSB-first bit accumulator: reads each byte once with no intermediate ByteString allocation.
decodeRLEBitPackedHybrid :: Int -> Int -> ByteString -> ([Word32], ByteString) Source #
decodeDictIndicesV1 :: Int -> Int -> ByteString -> (Vector Int, ByteString) Source #