vortex_array/arrays/bool/compute/
mod.rs1use crate::Array;
2use crate::arrays::BoolEncoding;
3use crate::compute::{
4 FillNullFn, IsConstantFn, IsSortedFn, MinMaxFn, ScalarAtFn, SliceFn, TakeFn, ToArrowFn,
5 UncompressedSizeFn,
6};
7use crate::vtable::ComputeVTable;
8
9mod cast;
10mod fill_null;
11pub mod filter;
12mod flatten;
13mod invert;
14mod is_constant;
15mod is_sorted;
16mod mask;
17mod min_max;
18mod scalar_at;
19mod slice;
20mod sum;
21mod take;
22mod to_arrow;
23mod uncompressed_size;
24
25impl ComputeVTable for BoolEncoding {
26 fn fill_null_fn(&self) -> Option<&dyn FillNullFn<&dyn Array>> {
27 Some(self)
28 }
29
30 fn is_constant_fn(&self) -> Option<&dyn IsConstantFn<&dyn Array>> {
31 Some(self)
32 }
33
34 fn is_sorted_fn(&self) -> Option<&dyn IsSortedFn<&dyn Array>> {
35 Some(self)
36 }
37
38 fn min_max_fn(&self) -> Option<&dyn MinMaxFn<&dyn Array>> {
39 Some(self)
40 }
41
42 fn scalar_at_fn(&self) -> Option<&dyn ScalarAtFn<&dyn Array>> {
43 Some(self)
44 }
45
46 fn slice_fn(&self) -> Option<&dyn SliceFn<&dyn Array>> {
47 Some(self)
48 }
49
50 fn take_fn(&self) -> Option<&dyn TakeFn<&dyn Array>> {
51 Some(self)
52 }
53
54 fn to_arrow_fn(&self) -> Option<&dyn ToArrowFn<&dyn Array>> {
55 Some(self)
56 }
57
58 fn uncompressed_size_fn(&self) -> Option<&dyn UncompressedSizeFn<&dyn Array>> {
59 Some(self)
60 }
61}