Skip to content
Snippets Groups Projects

Add object-based query framework to fetch devices.

Merged Arthur Tavares Quintao requested to merge device-query-framework into master

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

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading