Function parquet2::bloom_filter::read
source · [−]pub fn read<R: Read + Seek>(
column_metadata: &ColumnChunkMetaData,
reader: &mut R,
bitset: &mut Vec<u8>
) -> Result<(), Error>
Expand description
Reads the bloom filter associated to ColumnChunkMetaData
into bitset
.
Results in an empty bitset
if there is no associated bloom filter or the algorithm is not supported.
Error
Errors if the column contains no metadata or the filter can’t be read or deserialized.