|
YAZ 5.35.1
|
Header for RPN to SOLR tranform. More...
Go to the source code of this file.
Functions | |
| int | solr_transform_rpn2solr_stream_r (solr_transform_t ct, WRBUF addinfo, void(*pr)(const char *buf, void *client_data), void *client_data, Z_RPNQuery *q) |
| transforms RPN query to SOLR output stream (re-entrant) | |
| int | solr_transform_rpn2solr_stream (solr_transform_t ct, void(*pr)(const char *buf, void *client_data), void *client_data, Z_RPNQuery *q) |
| transforms RPN query to SOLR output stream (NOT re-entrant) | |
| int | solr_transform_rpn2solr_wrbuf (solr_transform_t ct, WRBUF w, Z_RPNQuery *q) |
| transforms RPN query to SOLR WRBUF | |
| const char * | solr_lookup_reverse (solr_transform_t ct, const char *category, Z_AttributeList *attributes) |
| find a pattern that has a subset of attributes | |
Header for RPN to SOLR tranform.
Definition in file rpn2solr.h.
| const char * solr_lookup_reverse | ( | solr_transform_t | ct, |
| const char * | category, | ||
| Z_AttributeList * | attributes | ||
| ) |
find a pattern that has a subset of attributes
| ct | SOLR transform handle |
| category | pattern category |
| attributes | RPN attributes |
Definition at line 57 of file solrtransform.c.
References cql_lookup_reverse().
Referenced by check_range(), rpn2solr_attr(), and rpn2solr_simple().
| int solr_transform_rpn2solr_stream | ( | solr_transform_t | ct, |
| void(*)(const char *buf, void *client_data) | pr, | ||
| void * | client_data, | ||
| Z_RPNQuery * | q | ||
| ) |
transforms RPN query to SOLR output stream (NOT re-entrant)
| ct | SOLR transform handle |
| pr | print function |
| client_data | opaque data to be passed to print handler |
| q | RPN Query |
| 0 | success |
| !=0 | failure (error code) |
Definition at line 413 of file rpn2solr.c.
References solr_transform_rpn2solr_stream_r(), solr_transform_set_error(), wrbuf_alloc(), wrbuf_cstr(), wrbuf_destroy(), and wrbuf_len.
Referenced by solr_transform_rpn2solr_wrbuf().
| int solr_transform_rpn2solr_stream_r | ( | solr_transform_t | ct, |
| WRBUF | addinfo, | ||
| void(*)(const char *buf, void *client_data) | pr, | ||
| void * | client_data, | ||
| Z_RPNQuery * | q | ||
| ) |
transforms RPN query to SOLR output stream (re-entrant)
| ct | SOLR transform handle |
| addinfo | additional info on error |
| pr | print function |
| client_data | opaque data to be passed to print handler |
| q | RPN Query |
| 0 | success |
| !=0 | failure (error code) |
Definition at line 400 of file rpn2solr.c.
References rpn2solr_structure(), Z_RPNQuery::RPNStructure, and wrbuf_rewind().
Referenced by solr_transform_rpn2solr_stream().
| int solr_transform_rpn2solr_wrbuf | ( | solr_transform_t | ct, |
| WRBUF | w, | ||
| Z_RPNQuery * | q | ||
| ) |
transforms RPN query to SOLR WRBUF
| ct | SOLR transform handle |
| w | WRBUF handle for result |
| q | RPN Query |
| 0 | success |
| !=0 | failure (error code) |
Definition at line 426 of file rpn2solr.c.
References solr_transform_rpn2solr_stream(), and wrbuf_vp_puts().