Difference between revisions of "IDMARKERSCANQUERY"
(→Basics) |
|||
Line 9: | Line 9: | ||
}} | }} | ||
== Basics == | == Basics == | ||
− | + | Id marker scan queries are used for fetching a list of [[Contentclass|ContentClasses]] identified by 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 fullfill the classification [[SYSCLS_OBJECTWITHIDMARKER]] in order to be found as the query result. The id marker scan query itself inherits functionality from [[Query|Query]] and has the classification interface [[SYSCLS_IDMARKERSCANQUERY]]. | |
Id marker scan queries can be used in different scenarios with objects identified by scan codes: | Id marker scan queries can be used in different scenarios with objects identified 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) | ||
* used as definition of root nodes in a [[View]] | * used as definition of root nodes in a [[View]] | ||
+ | |||
== Query, QueryItem == | == Query, QueryItem == | ||
see [[Query|Query]]. | see [[Query|Query]]. |
Revision as of 07:55, 27 May 2014
Contents
Basics
Id marker scan queries are used for fetching a list of ContentClasses identified by scan codes (ID Marker, Barcode, QR Code) from the database. All of these objects have to fullfill the classification SYSCLS OBJECTWITHIDMARKER in order to be found as the query result. The id marker scan query itself inherits functionality from Query and has the classification interface SYSCLS IDMARKERSCANQUERY. Id marker scan queries can be used in different scenarios with objects identified 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.