|
IDZEBRA 2.2.8
|
#include "it_key.h"Go to the source code of this file.
Typedefs | |
| typedef struct zebra_key_block * | zebra_key_block_t |
Functions | |
| zebra_key_block_t | key_block_create (size_t mem, const char *key_tmp_dir, int use_threads) |
| void | key_block_destroy (zebra_key_block_t *pp) |
| void | key_block_flush (zebra_key_block_t p, int is_final) |
| void | key_block_write (zebra_key_block_t p, zint sysno, struct it_key *key_in, int cmd, const char *str_buf, size_t str_len, zint staticrank, int static_rank_enable) |
| int | key_block_get_no_files (zebra_key_block_t p) |
| typedef struct zebra_key_block* zebra_key_block_t |
Definition at line 27 of file key_block.h.
| zebra_key_block_t key_block_create | ( | size_t | mem, |
| const char * | key_tmp_dir, | ||
| int | use_threads | ||
| ) |
Definition at line 191 of file key_block.c.
References zebra_key_block::alt_buf, zebra_key_block::key_buf, zebra_key_block::key_buf_used, zebra_key_block::key_file_no, zebra_key_block::key_tmp_dir, it_key::mem, zebra_key_block::ptr_i, zebra_key_block::ptr_top, and zebra_key_block::use_threads.
Referenced by extract_flush_record_keys2().
| void key_block_destroy | ( | zebra_key_block_t * | pp | ) |
Definition at line 226 of file key_block.c.
References zebra_key_block::alt_buf, zebra_key_block::key_buf, zebra_key_block::key_tmp_dir, and zebra_key_block::use_threads.
Referenced by zebra_index_merge(), and zebra_register_close().
| void key_block_flush | ( | zebra_key_block_t | p, |
| int | is_final | ||
| ) |
Definition at line 370 of file key_block.c.
References zebra_key_block::alt_buf, key_block_flush_int(), zebra_key_block::key_buf, zebra_key_block::key_buf_used, zebra_key_block::ptr_i, zebra_key_block::ptr_top, and zebra_key_block::use_threads.
Referenced by key_block_write(), and zebra_flush_reg().
| int key_block_get_no_files | ( | zebra_key_block_t | p | ) |
Definition at line 411 of file key_block.c.
References zebra_key_block::key_file_no.
Referenced by zebra_index_merge().
| void key_block_write | ( | zebra_key_block_t | p, |
| zint | sysno, | ||
| struct it_key * | key_in, | ||
| int | cmd, | ||
| const char * | str_buf, | ||
| size_t | str_len, | ||
| zint | staticrank, | ||
| int | static_rank_enable | ||
| ) |
Definition at line 259 of file key_block.c.
References CAST_ZINT_TO_INT, key_block_flush(), zebra_key_block::key_buf, zebra_key_block::key_buf_used, key_SU_encode(), it_key::len, it_key::mem, zebra_key_block::ptr_i, and zebra_key_block::ptr_top.
Referenced by extract_flush_record_keys2().