Difference between revisions of "IDMARKERSCANQUERY"
(→Basics) |
(→Basics) |
||
Line 9: | Line 9: | ||
}} | }} | ||
== Basics == | == Basics == | ||
− | 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]] | + | 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) |
Revision as of 07:57, 27 May 2014
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
Query, QueryItem
see Query.
Relation between Query and Items
see Query.
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.