[MDSAL-606] Expose QueryExpression evaluation on transactions Created: 25/Oct/20  Updated: 26/Oct/20  Resolved: 26/Oct/20

Status: Resolved
Project: mdsal
Component/s: Binding API, Binding runtime
Affects Version/s: None
Fix Version/s: 5.0.15, 7.0.2, 6.0.8

Type: New Feature Priority: Medium
Reporter: Robert Varga Assignee: Robert Varga
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: Searchable MD-SAL

 Description   

Since we have demonstrated usefulness of QueryExpressions in single-data setting, expose evaluations of these through QueryOperations, which can be implemented by ReadTransaction et al.

Since query evaluation can be performed on DOM data, we can provide the capability out of the box in mdsal-binding-dom-adapter, again using DOMQueryEvaluator. This will work with any transaction provider, riding on top of the read() operation.

For mdsal-binding-util we just retrofit ReadTransaction with a delegating implementation. If the backend does not support queries they will just throw UnsupportedOperationException.

 


Generated at Wed Feb 07 20:10:13 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.