vortex-zigzag 0.69.0

Vortex zig zag array
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright the Vortex contributors

use vortex_array::arrays::filter::FilterReduceAdaptor;
use vortex_array::arrays::slice::SliceReduceAdaptor;
use vortex_array::optimizer::rules::ParentRuleSet;
use vortex_array::scalar_fn::fns::cast::CastReduceAdaptor;
use vortex_array::scalar_fn::fns::mask::MaskReduceAdaptor;

use crate::ZigZag;

pub(crate) static RULES: ParentRuleSet<ZigZag> = ParentRuleSet::new(&[
    ParentRuleSet::lift(&CastReduceAdaptor(ZigZag)),
    ParentRuleSet::lift(&FilterReduceAdaptor(ZigZag)),
    ParentRuleSet::lift(&MaskReduceAdaptor(ZigZag)),
    ParentRuleSet::lift(&SliceReduceAdaptor(ZigZag)),
]);