Skip to main content

Module bloom_filter

Module bloom_filter 

Source
Expand description

Check Arrow arrays against Parquet bloom filters

Re-exportsยง

use arrow_array::builder::BooleanBuilder; ๐Ÿ”’
use arrow_array::cast::AsArray; ๐Ÿ”’
use arrow_array::types::Float32Type; ๐Ÿ”’
use arrow_array::types::Float64Type; ๐Ÿ”’
use arrow_array::types::RunEndIndexType; ๐Ÿ”’
use arrow_array::Array; ๐Ÿ”’
use arrow_array::BooleanArray; ๐Ÿ”’
use arrow_array::RunArray; ๐Ÿ”’
use arrow_array::downcast_run_array; ๐Ÿ”’
use arrow_buffer::ArrowNativeType; ๐Ÿ”’
use arrow_buffer::BooleanBuffer; ๐Ÿ”’
use arrow_schema::DataType; ๐Ÿ”’
use arrow_schema::Field; ๐Ÿ”’
use crate::arrow::arrow_writer::FixedLenByteArrayVisitor; ๐Ÿ”’
use crate::arrow::arrow_writer::PrimitiveVisitor; ๐Ÿ”’
use crate::arrow::arrow_writer::visit_fixed_len_byte_array; ๐Ÿ”’
use crate::arrow::arrow_writer::visit_i32; ๐Ÿ”’
use crate::arrow::arrow_writer::visit_i64; ๐Ÿ”’
use crate::arrow::schema::arrow_to_parquet_type; ๐Ÿ”’
use crate::basic::ConvertedType; ๐Ÿ”’
use crate::basic::LogicalType; ๐Ÿ”’
use crate::basic::TimeUnit; ๐Ÿ”’
use crate::basic::Type as PhysicalType; ๐Ÿ”’
use crate::bloom_filter::Sbbf; ๐Ÿ”’
use crate::data_type::AsBytes; ๐Ÿ”’
use crate::errors::ParquetError; ๐Ÿ”’
use crate::errors::Result; ๐Ÿ”’
use crate::schema::types::ColumnDescriptor; ๐Ÿ”’
use crate::schema::types::Type; ๐Ÿ”’

Structsยง

ArrowSbbf
A Parquet bloom filter (Sbbf) that can be checked with Arrow arrays
CheckFixedLenByteArray ๐Ÿ”’
Checks the FIXED_LEN_BYTE_ARRAY values passed to it against a bloom filter
CheckPrimitive ๐Ÿ”’
Checks the INT32, INT64, FLOAT or DOUBLE values passed to it against a bloom filter

Functionsยง

check_byte_array ๐Ÿ”’
Checks the values of a BYTE_ARRAY column, which are stored as they are
check_bytes ๐Ÿ”’
decimal_scale ๐Ÿ”’
Returns the scale of a decimal type, or None if t is not a decimal
describe ๐Ÿ”’
Describes the parts of columnโ€™s type that determine how its values are stored
is_stored_as ๐Ÿ”’
Returns whether values written to a column of type written can be checked against the bloom filter of a column of type column
time_unit ๐Ÿ”’
Returns the unit of a TIME or TIMESTAMP type, or None if t has no unit
type_length ๐Ÿ”’
type_mismatch ๐Ÿ”’
validate ๐Ÿ”’
Returns an error unless ArrowWriter stores values of arrow_type in the same way as values of column, so that they can be checked against its bloom filter
value_type ๐Ÿ”’
Returns the type of the values of a dictionary or run-end encoded data_type, or data_type itself