Groonga 3.0.9 Source Code Document
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Data Structures | Macros | Typedefs | Functions
pat.h File Reference
#include "groonga_in.h"
#include "db.h"
#include "hash.h"
Include dependency graph for pat.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  _grn_pat
struct  grn_pat_delinfo
struct  grn_pat_header
struct  _grn_pat_cursor_entry
struct  _grn_pat_cursor

Macros

#define GRN_PAT_MAX_KEY_SIZE   GRN_TABLE_MAX_KEY_SIZE
#define GRN_PAT_NDELINFOS   0x100

Typedefs

typedef struct
_grn_pat_cursor_entry 
grn_pat_cursor_entry

Functions

GRN_API grn_id grn_pat_curr_id (grn_ctx *ctx, grn_pat *pat)
GRN_API grn_rc grn_pat_truncate (grn_ctx *ctx, grn_pat *pat)
const char * _grn_pat_key (grn_ctx *ctx, grn_pat *pat, grn_id id, uint32_t *key_size)
grn_id grn_pat_next (grn_ctx *ctx, grn_pat *pat, grn_id id)
const char * grn_pat_get_value_ (grn_ctx *ctx, grn_pat *pat, grn_id id, uint32_t *size)
GRN_API grn_id grn_pat_at (grn_ctx *ctx, grn_pat *pat, grn_id id)
void grn_pat_check (grn_ctx *ctx, grn_pat *pat)
void grn_pat_inspect_nodes (grn_ctx *ctx, grn_pat *pat, grn_obj *buf)
void grn_pat_cursor_inspect (grn_ctx *ctx, grn_pat_cursor *c, grn_obj *buf)
grn_rc grn_pat_cache_enable (grn_ctx *ctx, grn_pat *pat, uint32_t cache_size)
void grn_pat_cache_disable (grn_ctx *ctx, grn_pat *pat)

Macro Definition Documentation

#define GRN_PAT_MAX_KEY_SIZE   GRN_TABLE_MAX_KEY_SIZE

Definition at line 31 of file pat.h.

#define GRN_PAT_NDELINFOS   0x100

Definition at line 46 of file pat.h.

Typedef Documentation

Definition at line 79 of file pat.h.

Function Documentation

const char* _grn_pat_key ( grn_ctx ctx,
grn_pat pat,
grn_id  id,
uint32_t *  key_size 
)

Definition at line 1250 of file pat.c.

Here is the caller graph for this function:

GRN_API grn_id grn_pat_at ( grn_ctx ctx,
grn_pat pat,
grn_id  id 
)

Definition at line 1527 of file pat.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void grn_pat_cache_disable ( grn_ctx ctx,
grn_pat pat 
)

Definition at line 494 of file pat.c.

Here is the caller graph for this function:

grn_rc grn_pat_cache_enable ( grn_ctx ctx,
grn_pat pat,
uint32_t  cache_size 
)

Definition at line 476 of file pat.c.

Here is the caller graph for this function:

void grn_pat_check ( grn_ctx ctx,
grn_pat pat 
)

Definition at line 2295 of file pat.c.

Here is the call graph for this function:

GRN_API grn_id grn_pat_curr_id ( grn_ctx ctx,
grn_pat pat 
)

Definition at line 1536 of file pat.c.

Here is the caller graph for this function:

void grn_pat_cursor_inspect ( grn_ctx ctx,
grn_pat_cursor c,
grn_obj buf 
)

Definition at line 2436 of file pat.c.

Here is the call graph for this function:

Here is the caller graph for this function:

const char* grn_pat_get_value_ ( grn_ctx ctx,
grn_pat pat,
grn_id  id,
uint32_t *  size 
)

Definition at line 1353 of file pat.c.

Here is the caller graph for this function:

void grn_pat_inspect_nodes ( grn_ctx ctx,
grn_pat pat,
grn_obj buf 
)

Definition at line 2399 of file pat.c.

grn_id grn_pat_next ( grn_ctx ctx,
grn_pat pat,
grn_id  id 
)

Definition at line 1514 of file pat.c.

Here is the call graph for this function:

Here is the caller graph for this function:

GRN_API grn_rc grn_pat_truncate ( grn_ctx ctx,
grn_pat pat 
)

Definition at line 572 of file pat.c.

Here is the call graph for this function:

Here is the caller graph for this function: