Modules§
Structs§
- Basic
Decompressor - A [
FallibleStreamingIterator
] that decompressesCompressedPage
intoDataPage
. - Column
Iterator - A
MutStreamingIterator
that reads column chunks one by one, returning aPageReader
per column. - Page
Meta Data - This meta is a small part of
ColumnChunkMetadata
. - Page
Reader - A fallible
Iterator
ofCompressedDataPage
. This iterator reads pages back to back until all pages have been consumed. - Read
Column Iterator - A
MutStreamingIterator
of pre-read column chunks
Enums§
- State
- State of
MutStreamingIterator
.
Traits§
- MutStreaming
Iterator - A special kind of fallible streaming iterator where
advance
consumes the iterator. - Page
Iterator
Functions§
- decompress
- Decompresses the page, using
buffer
for decompression. Ifpage.buffer.len() == 0
, there was no decompression and the buffer was moved. Else, decompression took place. - deserialize_
metadata - Parse loaded metadata bytes
- get_
column_ iterator - Returns a
ColumnIterator
of column chunks corresponding tofield
. - get_
page_ iterator - Returns a new
PageReader
by seekingreader
to the beginning ofcolumn_chunk
. - read_
metadata - Reads a
FileMetadata
from the reader, located at the end of the file. - read_
metadata_ with_ size - Reads a
FileMetadata
from the reader, located at the end of the file, with known file size.