PathSchemaQuery
A discovery query: source/target types, max schema length, and connection params.
Used as Input
1
function accept this type
Used as Output
0
functions return this type
Type Definition
34 nested items
PathSchemaQuery— A discovery query: source/target types, max schema length, and connection params.
allow_cycles*:bool— Whether a schema may revisit the same type.
allowed_types:Option<Vec<_>>— Optional set of types the intermediate steps may pass through;
None allows all. Thededup_targets*:bool— Store only one connection per (source, target) pair.
max_connections:Option<i64>— Global cap on the number of connections: a coarse safety limit, checked between
selection*:EventSelection— Strategy for choosing target events when several are reachable from one source.
selectivity_threshold:Option<f64>— Terminate early once selectivity is provably below this threshold.
variant 1:struct— An event type with the given name.
variant 2:struct— An object type with the given name.
Example JSON Value
{
"allow_cycles": false,
"max_length": 1,
"params": {
"dedup_targets": false,
"selection": "All",
"temporal": "None"
},
"source": {
"Event": "example"
}
}