Expand description
Result types that can be returned by a JSONPath query engine.
Modules§
- approx_
span Recorder
implementation finding the starts and approximate ends of all matches.- count
Recorder
implementation for counting the number of matches.- empty
- Empty
Recorder
implementation, mainly for testing purposes. - index
Recorder
implementation finding the starts of all matches. Faster than a fullNodesRecorder
.- nodes
- Main
Recorder
implementation collecting the bytes of all matches.
Structs§
- Match
- Full information of a query match – its span and the input bytes in that span.
- Match
Span - Span of a match – its start and end index.
- Match
Writer - Thin wrapper over an
io::Write
to provide aSink
impl. - Null
Sink - Empty sink that consumes all matches into the void.
Enums§
- Matched
Node Type - Type of a value being reported to a
Recorder
.
Traits§
- Input
Recorder - Base trait of any recorder, one that can react to a block of input being processed.
- Recorder
- An observer that can determine the query result based on match and structural events coming from the execution engine.
- Sink
- Output sink consuming matches of the type
D
.
Type Aliases§
- Match
Count - Result of counting query matches.
- Match
Index - Representation of the starting index of a match.