Skip to main content

Module filter

Module filter 

Source
Expand description

JSON predicate filtering for event consumption.

The filter engine supports:

  • Logical operators: $and, $or, $not
  • Dot-path field access: "foo.bar.baz"
  • Equality matching (values must match exactly)

Filtering is performed after retrieval from the adapter, not pushed down to the storage layer.

Structs§

CompiledSegment
One step in a compiled dot-path.
EqCondition
Inner equality condition (path + value).
FilterBuilder
Filter builder for fluent API.

Enums§

CompiledFilter
Pre-compiled filter where every dot-path is split + each segment’s integer parse is cached. Produced once via Filter::compile and reused across every event in a poll.
Filter
A filter predicate for matching events.

Functions§

json_path_get
Efficient dot-path accessor for JSON values.