Groonga
Loading...
Searching...
No Matches
progress.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef struct _grn_progress grn_progress
 
typedef void(* grn_progress_callback_func) (grn_ctx *ctx, grn_progress *progress, void *user_data)
 

Enumerations

enum  grn_progress_type { GRN_PROGRESS_INDEX , GRN_PROGRESS_LANGUAGE_MODEL_INFERENCER }
 
enum  grn_progress_index_phase {
  GRN_PROGRESS_INDEX_INVALID , GRN_PROGRESS_INDEX_INITIALIZE , GRN_PROGRESS_INDEX_LOAD , GRN_PROGRESS_INDEX_COMMIT ,
  GRN_PROGRESS_INDEX_FINALIZE , GRN_PROGRESS_INDEX_DONE , GRN_PROGRESS_INDEX_VECTORIZE , GRN_PROGRESS_INDEX_CLUSTER
}
 

Functions

GRN_API grn_progress_type grn_progress_get_type (grn_ctx *ctx, grn_progress *progress)
 
GRN_API grn_progress_index_phase grn_progress_index_get_phase (grn_ctx *ctx, grn_progress *progress)
 
GRN_API uint32_t grn_progress_index_get_n_target_records (grn_ctx *ctx, grn_progress *progress)
 
GRN_API uint32_t grn_progress_index_get_n_processed_records (grn_ctx *ctx, grn_progress *progress)
 
GRN_API uint32_t grn_progress_index_get_n_target_terms (grn_ctx *ctx, grn_progress *progress)
 
GRN_API uint32_t grn_progress_index_get_n_processed_terms (grn_ctx *ctx, grn_progress *progress)
 
GRN_API uint32_t grn_progress_language_model_inferencer_get_n_processed_records (grn_ctx *ctx, grn_progress *progress)
 
GRN_API grn_rc grn_ctx_set_progress_callback (grn_ctx *ctx, grn_progress_callback_func func, void *user_data)
 
GRN_API grn_progress_callback_func grn_ctx_get_progress_callback (grn_ctx *ctx)
 

Typedef Documentation

◆ grn_progress

typedef struct _grn_progress grn_progress

◆ grn_progress_callback_func

typedef void(* grn_progress_callback_func) (grn_ctx *ctx, grn_progress *progress, void *user_data)

Enumeration Type Documentation

◆ grn_progress_index_phase

Enumerator
GRN_PROGRESS_INDEX_INVALID 
GRN_PROGRESS_INDEX_INITIALIZE 
GRN_PROGRESS_INDEX_LOAD 
GRN_PROGRESS_INDEX_COMMIT 
GRN_PROGRESS_INDEX_FINALIZE 
GRN_PROGRESS_INDEX_DONE 
GRN_PROGRESS_INDEX_VECTORIZE 
GRN_PROGRESS_INDEX_CLUSTER 

◆ grn_progress_type

Enumerator
GRN_PROGRESS_INDEX 
GRN_PROGRESS_LANGUAGE_MODEL_INFERENCER 

Function Documentation

◆ grn_ctx_get_progress_callback()

GRN_API grn_progress_callback_func grn_ctx_get_progress_callback ( grn_ctx ctx)

◆ grn_ctx_set_progress_callback()

GRN_API grn_rc grn_ctx_set_progress_callback ( grn_ctx ctx,
grn_progress_callback_func  func,
void *  user_data 
)

◆ grn_progress_get_type()

GRN_API grn_progress_type grn_progress_get_type ( grn_ctx ctx,
grn_progress progress 
)

◆ grn_progress_index_get_n_processed_records()

GRN_API uint32_t grn_progress_index_get_n_processed_records ( grn_ctx ctx,
grn_progress progress 
)

◆ grn_progress_index_get_n_processed_terms()

GRN_API uint32_t grn_progress_index_get_n_processed_terms ( grn_ctx ctx,
grn_progress progress 
)

◆ grn_progress_index_get_n_target_records()

GRN_API uint32_t grn_progress_index_get_n_target_records ( grn_ctx ctx,
grn_progress progress 
)

◆ grn_progress_index_get_n_target_terms()

GRN_API uint32_t grn_progress_index_get_n_target_terms ( grn_ctx ctx,
grn_progress progress 
)

◆ grn_progress_index_get_phase()

GRN_API grn_progress_index_phase grn_progress_index_get_phase ( grn_ctx ctx,
grn_progress progress 
)

◆ grn_progress_language_model_inferencer_get_n_processed_records()

GRN_API uint32_t grn_progress_language_model_inferencer_get_n_processed_records ( grn_ctx ctx,
grn_progress progress 
)