Image | Audio | Video |
---|---|---|
X |
Searches the QBIC catalog for images that match the search criteria contained in a query string. The results, which include the image handles and their QBIC search scores, are stored in a result array in the client memory. They are sorted according to their scores.
Authorization
Select
Library file
OS/2 and Windows | AIX, HP-UX, and Solaris |
---|---|
dmbqqry.lib | libdmbqqry.a (AIX) |
| libdmbqqry.sl (HP-UX) |
| libdmbqqry.so (Solaris) |
Include file
dmbqbapi.h
Syntax
SQLRETURN QbQueryStringSearch( char *queryString, char *tableName, char *columnName, SQLINTEGER maxReturns, QbQueryScope* scope, SQLINTEGER resultType, SQLINTEGER* count, QbResult* returns );
Parameters
Error codes
Examples
Query the cataloged images in the picture column of the employee table. Make sure that no more than six images are returned:
#include <dmbqbapi.h> rc = QbQueryStringSearch("QbColorFeatureClass color=<255, 0, 0>" "employee", "picture", 6, 0, qbiArray, &count, &returns);