Difference between revisions of "IDMARKERSCANQUERY"
(→Basics) |
|||
(12 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
| title = IdMarkerScanQuery | | title = IdMarkerScanQuery | ||
| name = IDMARKERSCANQUERY | | name = IDMARKERSCANQUERY | ||
− | | internalname = | + | | internalname = SystemObjects.{{PAGENAME}} |
− | | namespace = System | + | | namespace = System.IdMarkerScanQuery |
| imagecaption = IdMarkerScanQuery | | imagecaption = IdMarkerScanQuery | ||
| purpose = Configure queries for objects with id markers | | purpose = Configure queries for objects with id markers | ||
| version = 2.2.3+ | | version = 2.2.3+ | ||
+ | | typestring = UBIK.Kernel.MetaClass | ||
+ | | runtimetype = UBIK.Kernel.IdMarkerScanQuery | ||
}} | }} | ||
== 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) | ||
* used as definition of root nodes in a [[View]] | * used as definition of root nodes in a [[View]] | ||
− | |||
− | |||
− | |||
− | |||
==FilterClass== | ==FilterClass== | ||
− | The | + | 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. |
{{Attention|When selecting the query root node, please consider that possibly a huge amount of derived MetaClasses must be recusively checked for implementing the classification interface! Using a FilterClass that directly implements the interface reduces the processing time to a minimum!}} | {{Attention|When selecting the query root node, please consider that possibly a huge amount of derived MetaClasses must be recusively checked for implementing the classification interface! Using a FilterClass that directly implements the interface reduces the processing time to a minimum!}} | ||
==Filter Criteria== | ==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 | + | 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. |
+ | == See also == | ||
+ | * [[QUERY]] | ||
+ | * [[QUERYITEM]] | ||
− | [[Category: | + | [[Category:Metaclasses|IDMARKERSCANQUERY]] |
− | + |
Latest revision as of 10:10, 4 November 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.