1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
//! Array operators: filter / map / reduce / merge / quantifiers / sort /
//! slice / length.
//!
//! # File map
//!
//! - [`filter`] — `filter` (predicate-based array selection).
//! - [`map`] — `map` (per-element transformation).
//! - [`merge`] — `merge` (variadic array concatenation, flattening one level).
//! - [`quantifiers`] — `all`, `some`, `none` (predicate scan with short-circuit).
//! - [`reduce`] — `reduce` (fold over an array with `accumulator` / `current` slots).
//! - [`length`] — `length` of strings/arrays (gated on `feature = "ext-string"`).
//! - [`slice`] — Python-style `slice` (gated on `feature = "ext-array"`).
//! - [`sort`] — `sort` (key-based ordering, gated on `feature = "ext-array"`).
//! - [`group_by`] — `group_by` (collapse on a computed key into `{key, items}`
//! rows, gated on `feature = "ext-array"`).
//! - [`distinct`] — `distinct` (dedup by value or computed key, gated on
//! `feature = "ext-array"`).
//! - [`input`] — iterator input: `IterSrc`, `ResolvedInput`, `Items`,
//! `resolve_iter_input` (used by every iterator op, and where the
//! per-item charge is taken), and the per-item body loops.
//! - [`helpers`] — `FastPredicate` (filter / quantifier fast paths) and
//! the loop-invariance test.
//! - [`fused`] — the fused `map` / `reduce` pieces: `FieldCursor`, the
//! exact arithmetic combine, `FusedMapBody`.
//! - [`fast_paths`] — the list of every fast path and the gate they share.
// Operator entry points (consumed by the dispatcher).
pub use evaluate_filter;
pub use evaluate_map;
pub use evaluate_merge;
pub use quantifier;
pub use evaluate_reduce;
pub use length;
pub use evaluate_distinct;
pub use evaluate_group_by;
pub use evaluate_slice;
pub use evaluate_sort;
// Iterator-input infrastructure consumed by `arithmetic` (and other crate
// callers) to compose with array results.
pub use FastPredicate;
pub use ;