pre_filter

Function pre_filter 

Source
pub fn pre_filter<E>(
    filter: &Filter,
) -> Box<dyn Fn(&Result<String, E>) -> bool + Send + Sync>
Expand description

Filters raw lines by a regular expression.

Optional filter for lines from the pageviews file. Applied before parsing, which makes it possible to significantly reduce the amount of parsing in cases where we’re only looking for a subset of the file.