Arbitrary Find

The arbitrary find method provides custom device applications the ability to dynamically build queries based on user input.

In addition to allowing for arbitrary search criteria, the arbitrary find method lets the user specify the ordering of the results and object state criteria. A Query class is included in the client object API’s core classes. The Query class is the single object passed to the arbitrary search methods and consists of search conditions, object/row state filter conditions, and data ordering information.

Define these conditions by setting properties in a query:
  • TestCriteria – criteria used to filter returned data.
  • SortCriteria – criteria used to order returned data.
  • Skip – an integer specifying how many rows to skip. Used for paging.
  • Take – an integer specifying the maximum number of rows to return. Used for paging.

TestCriteria can be an AttributeTest or a CompositeTest.