IDZEBRA  2.2.7
Typedefs | Functions
key_block.h File Reference
#include "it_key.h"

Go to the source code of this file.

Typedefs

typedef struct zebra_key_blockzebra_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 Documentation

◆ zebra_key_block_t

Definition at line 27 of file key_block.h.

Function Documentation

◆ key_block_create()

zebra_key_block_t key_block_create ( size_t  mem,
const char *  key_tmp_dir,
int  use_threads 
)

◆ key_block_destroy()

void key_block_destroy ( zebra_key_block_t pp)

◆ key_block_flush()

void key_block_flush ( zebra_key_block_t  p,
int  is_final 
)

◆ key_block_get_no_files()

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().

◆ key_block_write()

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 
)