IDZEBRA
2.2.7
|
Go to the source code of this file.
Data Structures | |
struct | trunc_info |
Functions | |
static void | heap_swap (struct trunc_info *ti, int i1, int i2) |
static void | heap_delete (struct trunc_info *ti) |
static void | heap_insert (struct trunc_info *ti, const char *buf, int indx) |
static struct trunc_info * | heap_init (int size, int key_size, int(*cmp)(const void *p1, const void *p2)) |
static void | heap_close (struct trunc_info *ti) |
static RSET | rset_trunc_r (ZebraHandle zi, const char *term, int length, const char *flags, ISAM_P *isam_p, int from, int to, int merge_chunk, int preserve_position, int term_type, NMEM rset_nmem, struct rset_key_control *kctrl, int scope, TERMID termid) |
static int | isams_trunc_cmp (const void *p1, const void *p2) |
static int | isamc_trunc_cmp (const void *p1, const void *p2) |
RSET | rset_trunc (ZebraHandle zh, ISAM_P *isam_p, int no, const char *term, int length, const char *flags, int preserve_position, int term_type, NMEM rset_nmem, struct rset_key_control *kctrl, int scope, struct ord_list *ol, const char *index_type, zint hits_limit, const char *term_ref_id) |
|
static |
Definition at line 115 of file trunc.c.
References trunc_info::buf, trunc_info::heap, trunc_info::indx, trunc_info::ptr, trunc_info::swapbuf, and trunc_info::tmpbuf.
Referenced by rset_trunc_r().
|
static |
Definition at line 51 of file trunc.c.
References trunc_info::cmp, trunc_info::heap, heap_swap(), trunc_info::heapnum, and trunc_info::ptr.
Referenced by rset_trunc_r().
|
static |
Definition at line 90 of file trunc.c.
References trunc_info::buf, trunc_info::cmp, trunc_info::heap, trunc_info::heapnum, trunc_info::indx, trunc_info::keysize, trunc_info::ptr, trunc_info::swapbuf, and trunc_info::tmpbuf.
Referenced by rset_trunc_r().
|
static |
Definition at line 73 of file trunc.c.
References trunc_info::cmp, trunc_info::heap, heap_swap(), trunc_info::heapnum, trunc_info::indx, trunc_info::keysize, and trunc_info::ptr.
Referenced by rset_trunc_r().
|
static |
Definition at line 42 of file trunc.c.
References trunc_info::ptr.
Referenced by heap_delete(), and heap_insert().
|
static |
Definition at line 387 of file trunc.c.
References isamc_block, and isamc_type.
Referenced by rset_trunc().
|
static |
Definition at line 375 of file trunc.c.
Referenced by rset_trunc().
RSET rset_trunc | ( | ZebraHandle | zh, |
ISAM_P * | isam_p, | ||
int | no, | ||
const char * | term, | ||
int | length, | ||
const char * | flags, | ||
int | preserve_position, | ||
int | term_type, | ||
NMEM | rset_nmem, | ||
struct rset_key_control * | kctrl, | ||
int | scope, | ||
struct ord_list * | ol, | ||
const char * | index_type, | ||
zint | hits_limit, | ||
const char * | term_ref_id | ||
) |
Definition at line 403 of file trunc.c.
References zebra_register::isamb, zebra_register::isamc, isamc_trunc_cmp(), isams_trunc_cmp(), zebra_session::reg, zebra_session::res, res_get_def(), rset_create_null(), rset_create_or(), rset_term_create(), rset_trunc_r(), rsisamb_create(), scope, and zebra_create_rset_isam().
Referenced by rpn_search_APT_numeric(), scan_save_set(), search_term(), and xpath_trunc().
|
static |
Definition at line 126 of file trunc.c.
References trunc_info::cmp, trunc_info::heap, heap_close(), heap_delete(), heap_init(), heap_insert(), trunc_info::heapnum, trunc_info::indx, zebra_register::isamb, isamb_pp_close(), isamb_pp_open(), isamb_pp_read(), zebra_register::isamc, isamc_pp_close(), isamc_pp_open(), isamc_pp_read(), zebra_register::isams, isams_pp_close(), isams_pp_open(), isams_pp_read(), key_compare(), trunc_info::ptr, zebra_session::reg, zebra_session::res, res_get(), rset_close(), rset_create_temp(), rset_delete(), rset_open, rset_read, rset_write, RSETF_READ, RSETF_WRITE, scope, and trunc_info::tmpbuf.
Referenced by rset_trunc().