GraphScanRequest
shrikedb.v2.GraphScanRequest · Message
| Field | Type | Cardinality / presence | Description |
|---|---|---|---|
subjectJSON: subject · #1 | string | singular | Triple pattern: subject-predicate-object Use "?" prefix for variables, or specific Uid/literal for constants e.g., "?person" or "uid:123" |
predicateJSON: predicate · #2 | string | singular | e.g., "?pred" or "knows" |
objectJSON: object · #3 | string | singular | e.g., "?friend" or "uid:456" |
snapshot_versionJSON: snapshotVersion · #4 | uint64 | optional (explicit presence) | — |
limitJSON: limit · #5 | uint32 | optional (explicit presence) | — |
Field names and numbers come from the protocol contract. Singular fields use protobuf defaults unless explicit presence applies. Server-side validation and permissions apply in addition to this wire structure.