Holds data needed for a specific field query This must refer to an field name (id, acc or any other queriable field) and the query string including wildcards specified by the user
Name |
---|
AjSQueryField |
AjOQueryField |
Name | Type | Description |
---|---|---|
Field | AjPStr | Field name |
Wildquery | AjPStr | Query Wildcard |
Link | AjEQryLink | Link to previous queries |
Holds data needed to interpret an entry specification This can refer to an entry name (or "id"), and accession number or other queriable items.
AjPQuery is created with the entry specification part of a USA (Uniform Sequence Address) or euivalent for other data types. The syntax is currently related to that used by SRS release 5.1.
Name |
---|
AjSQuery |
AjOQuery |
Name | Type | Description |
---|---|---|
SvrName | AjPStr | Server name used by EMBOSS |
DbName | AjPStr | Database name used by EMBOSS |
DbAlias | AjPStr | Database name used by access method |
DbType | AjPStr | Database type |
QueryFields | AjPList | Query field list |
ResultsList | AjPList | Query results list |
ResultsTable | AjPTable | Query results table |
Method | AjPStr | Name of access method |
Qlinks | AjPStr | Supported query link operators |
Formatstr | AjPStr | Name of input format for parser |
IndexDir | AjPStr | Index directory |
Directory | AjPStr | Data directory |
Filename | AjPStr | Individual filename |
Exclude | AjPStr | File wildcards to exclude (spaced) |
DbFields | AjPStr | Query fields (plus id and acc) |
DbFilter | AjPStr | Database filter (query) fields |
DbReturn | AjPStr | Database attribute (returned data) fields |
DbIdentifier | AjPStr | Database primary identifier field |
DbAccession | AjPStr | Database secondary identifier field |
DbUrl | AjPStr | Query URL |
DbProxy | AjPStr | Proxy host |
DbHttpVer | AjPStr | HTTP version |
ServerVer | AjPStr | Server version |
Field | AjPStr | Query field |
QryString | AjPStr | Query term |
Application | AjPStr | External application command |
Fpos | ajlong | File position from fseek |
TextAccess | void* | Text access function : see ajtextdb.h |
Access | void* | Datatype-specific access function : see ajseqdb.h ajobodb.h and others |
QryData | void* | Private data for access function |
QueryType | AjEQryType | Enumerated query type |
DataType | AjEDataType | Enumerated datatype general scope |
QryDone | AjBool | Has the query been done yet |
SetServer | AjBool | True if server data has been set |
SetDatabase | AjBool | True if database data has been set |
SetQuery | AjBool | True if query data has been set |
Wild | AjBool | True if query contains '*' or '?' |
CaseId | AjBool | True if ID match is case-sensitive |
HasAcc | AjBool | True if entries have acc field |
CountEntries | ajuint | Number of entries processed |
TotalEntries | ajuint | Number of entries found |
Padding | char[4] | Padding to alignment boundary |
Includes data from the original query (
Name |
---|
AjSQueryList |
AjOQueryList |
Name | Type | Description |
---|---|---|
Qry | AjPStr | Current query |
Formatstr | AjPStr | Format name from original query |
Format | ajuint | Format enumeration |
Padding | char[4] | Padding to alignment boundary |