Add object-based query framework to fetch devices.
Query Object Pattern
We can create a series of classes that represent different parts of the query. This would allow you to express your queries in a more structured way and handle more complex logic without ambiguity.
Components of the Query Object Pattern
- ClassQuery: Represents a query for a a specific device or set of devices within a Class.
- FECQuery: Represents a query for a a specific device or set of devices within a FEC.
- DeviceQuery: Represents a query for a specific device or set of devices within an FEC.
FECQuery can be built with one or more DeviceQuery and ClassQuery can be built with one or more FECQuery.
Edited by Arthur Tavares Quintao
Merge request reports
Activity
Filter activity
Please register or sign in to reply