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
//! Per-row observer hooks fired by `TableBuilder` during parsing.
//!
//! Attach via [`crate::ExecutionPlan::observer`]. Every executor (serial,
//! parallel, bounded, streaming) builds on `TableBuilder`, so hooks fire on
//! all of them, called from whichever thread parses the chunk: implementors
//! must be `Send + Sync` and cheap, since hooks run on the parse hot path.
//!
//! Rejected rows are never observed field-by-field: when a row filter
//! buffers values before the predicate resolves, `on_put_field` fires only
//! when the buffered row is drained (accepted). One exception: when the
//! predicate column arrives late in the row, values are pushed directly and
//! popped on reject, so `on_put_field` may fire for a row that is later
//! rejected; `on_row_rejected` still reports the rejection.
use crateValue;
/// Hook points invoked by `TableBuilder` while building a batch.
///
/// All methods default to no-ops; implement only the ones you need.