Difference between revisions of "IDMARKERSCANQUERY"
(→See also) |
|||
Line 11: | Line 11: | ||
}} | }} | ||
== Basics == | == Basics == | ||
− | Id marker scan queries are used for fetching a list of [[ | + | Id marker scan queries are used for fetching a list of [[ContentClass|ContentClasses]] identified by different scan codes ([http://dev.metaio.com/sdk/tracking-config/optical-tracking/id-marker/ ID Marker], [http://en.wikipedia.org/wiki/Barcode Barcode], [http://en.wikipedia.org/wiki/QRcode QR Code]) from the database. All of these objects have to implement the classification [[SYSCLS_OBJECTWITHIDMARKER]] in order to be found as the query result. The id marker scan query itself inherits functionality from [[Query|Query]], implements the classification interface [[SYSCLS_IDMARKERSCANQUERY]] and can be used in different scenarios to identify objects by scan codes: |
* data fetching (n records) | * data fetching (n records) | ||
* finding a single or a set of recordset(s) | * finding a single or a set of recordset(s) | ||
Line 27: | Line 27: | ||
* [[QUERY]] | * [[QUERY]] | ||
* [[QUERYITEM]] | * [[QUERYITEM]] | ||
− | |||
− |
Revision as of 08:59, 23 July 2015
Contents
Basics
Id marker scan queries are used for fetching a list of ContentClasses identified by different scan codes (ID Marker, Barcode, QR Code) from the database. All of these objects have to implement the classification SYSCLS OBJECTWITHIDMARKER in order to be found as the query result. The id marker scan query itself inherits functionality from Query, implements the classification interface SYSCLS IDMARKERSCANQUERY and can be used in different scenarios to identify objects by scan codes:
- data fetching (n records)
- finding a single or a set of recordset(s)
- used as definition of root nodes in a View
FilterClass
The FilterClass is a reference to the root node where all the matching content is beeing compared with the query criteria. The root node itself does not need to fullfill the classification SYSCLS OBJECTWITHIDMARKER as all derived MetaClasses are recursively checked for implementing the classification interface. All the matching content then is aggregated to one query result.
Filter Criteria
The filter criteria of an IdMarkerScanQuery basically consists of an ID Marker, a Barcode or a QR Code. If these code search criteria are logically combined with AND if provided together (e.g. QR Code AND Barcode). On the other hand providing only one of these scan code values, the content is matched to the specified code type (e.g. Barcode) only.