Expand description
Result types that can be returned by a JSONPath query engine.
Modules§
- approx_
span Recorderimplementation finding the starts and approximate ends of all matches.- count
Recorderimplementation for counting the number of matches.- empty
- Empty
Recorderimplementation, mainly for testing purposes. - index
Recorderimplementation finding the starts of all matches. Faster than a fullNodesRecorder.- nodes
- Main
Recorderimplementation 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::Writeto provide aSinkimpl. - 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.