Skip to main content

scan_request

Function scan_request 

Source
pub fn scan_request(
    pattern: &EncodedTriplePattern,
    snapshot: SnapshotId,
    limit: u64,
    permutation: Option<IndexPermutation>,
) -> ScanPatternRequest
Expand description

Build a ScanPattern / CountPattern request.

permutation of None lets the partition pick its longest-prefix axis-local index; limit of 0 is unlimited. CountPattern uses the same message and returns a uint64 instead of encoded quads.