pub fn with_comparisons(
request: ScanPatternRequest,
comparisons: &[SlotComparison],
) -> Result<ScanPatternRequest, ProtoError>Expand description
Attach slot comparisons to a scan request (ANDed in list order).
The partition evaluates them inside the walk and drops only rows that
provably fail; undecidable rows are kept and the compute-side FILTER
conjunct stays authoritative. ScanPattern and ScanPatternStream honor
the field; CountPattern rejects it. A graph-slot comparison is an error:
the wire carries S/P/O only, and graph constraints belong in the
graph-filter fields.