Arbitrary Find

The arbitrary find method lets custom device applications dynamically build queries based on user input. The Query.DISTINCT property lets you exclude duplicate entries from the result set.

The arbitrary find method also lets the user specify a desired ordering of the results and object state criteria. A SUPQuery class is included in the client object API. The SUPQuery 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:
  • SUPTestCriteria – criteria used to filter returned data.
  • SUPSortCriteria – 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.

SUPTestCriteria can be an SUPAttributeTest or a SUPCompositeTest.