AMWA-TV / is-04

AMWA IS-04 NMOS Discovery and Registration Specification (Stable)
https://specs.amwa.tv/is-04
Apache License 2.0
40 stars 23 forks source link

Mandate support for a core set of RQL operators when implemented in a Query API #20

Open andrewbonney opened 7 years ago

andrewbonney commented 7 years ago

At present the Query API spec provides a recommended set of operators to implement when using the optional RQL support in the spec. It has been suggested that this is strengthened to be a mandatory set of operators which must be present if RQL support is implemented.

This is being tracked on the AMWA Basecamp but is being recorded here for completeness.

andrewbonney commented 6 years ago

As part of this update it has been noted that the currently suggested 'sort()' operator could cause conflicts with the paging mechanism, causing it to be non-deterministic. This may need adding to the list of operators which are highlighted to explicitly not be implemented.

andrewbonney commented 5 years ago

Should also consider use of 'select()' to reduce the fields returned in cases where clients don't require them, and potentially a form of 'rel()' to search within foreign keys, for example:

/flows?query.rql=rel(senders,matches(transport,urn%3Ax-nmos%3Atransport%3Artp))
garethsb commented 3 years ago

See https://github.com/AMWA-TV/nmos-receiver-capabilities/issues/16 for a demonstration of how RQL can be used to implement a useful range of complex queries based on proposed BCP-004-01 Receiver Capabilities to identify the matching Senders. They require that the Query API implement: