refactor hierarchy and maat_table
This commit is contained in:
@@ -25,10 +25,11 @@ void *expr_schema_new(cJSON *json, const char *table_name, struct log_handle *lo
|
||||
void expr_schema_free(void *expr_schema);
|
||||
|
||||
/* expr runtime API */
|
||||
void *expr_runtime_new(void *expr_schema, struct maat_garbage_bin *garbage_bin, struct log_handle *logger);
|
||||
void *expr_runtime_new(void *expr_schema, int max_thread_num, struct maat_garbage_bin *garbage_bin,
|
||||
struct log_handle *logger);
|
||||
void expr_runtime_free(void *expr_runtime);
|
||||
|
||||
int expr_runtime_updating_flag(struct expr_runtime *expr_rt);
|
||||
int expr_runtime_updating_flag(void *expr_runtime);
|
||||
int expr_runtime_update(void *expr_runtime, void *expr_schema, const char *line, int valid_column);
|
||||
int expr_runtime_commit(void *expr_runtime);
|
||||
|
||||
@@ -38,7 +39,7 @@ int expr_runtime_commit(void *expr_runtime);
|
||||
*
|
||||
* @retval the num of hit group_id
|
||||
*/
|
||||
int expr_runtime_scan_string(struct expr_runtime *expr_rt, int thread_id,
|
||||
int expr_runtime_scan_string(struct expr_runtime *expr_runtime, int thread_id,
|
||||
const char *data, size_t data_len, int group_ids[],
|
||||
size_t max_hit_num, int virtual_table_id,
|
||||
struct maat_state *state);
|
||||
|
||||
Reference in New Issue
Block a user