OceanBase Plugin Development Kit
OceanBase Plugin Development Kit
载入中...
搜索中...
未找到
ObPluginFTParser结构体 参考

fulltext parser descriptor interface for domain index splitting a document into many tokenizations.return the version of this parser 更多...

#include <ob_plugin_ftparser.h>

Public 属性

int(* init )(ObPluginParamPtr param)
 < this routine will be called when loading the library
 
int(* deinit )(ObPluginParamPtr param)
 
int(* scan_begin )(ObPluginFTParserParamPtr param)
 this routine will be called before next_token
 
int(* scan_end )(ObPluginFTParserParamPtr param)
 this routine will be called after next_token
 
int(* next_token )(ObPluginFTParserParamPtr param, char **word, int64_t *word_len, int64_t *char_cnt, int64_t *word_freq)
 this routine will be called many times except it return fail or OBP_ITER_END
 
int(* get_add_word_flag )(uint64_t *flag)
 

详细描述

fulltext parser descriptor interface for domain index splitting a document into many tokenizations.return the version of this parser

在文件 ob_plugin_ftparser.h65 行定义.

类成员变量说明

◆ deinit

int(* ObPluginFTParser::deinit) (ObPluginParamPtr param)

在文件 ob_plugin_ftparser.h71 行定义.

◆ get_add_word_flag

int(* ObPluginFTParser::get_add_word_flag) (uint64_t *flag)

在文件 ob_plugin_ftparser.h82 行定义.

◆ init

int(* ObPluginFTParser::init) (ObPluginParamPtr param)

< this routine will be called when loading the library

this routine will be called when unloading the library

在文件 ob_plugin_ftparser.h68 行定义.

◆ next_token

int(* ObPluginFTParser::next_token) (ObPluginFTParserParamPtr param, char **word, int64_t *word_len, int64_t *char_cnt, int64_t *word_freq)

this routine will be called many times except it return fail or OBP_ITER_END

return the add_word_flag

在文件 ob_plugin_ftparser.h79 行定义.

◆ scan_begin

int(* ObPluginFTParser::scan_begin) (ObPluginFTParserParamPtr param)

this routine will be called before next_token

在文件 ob_plugin_ftparser.h73 行定义.

◆ scan_end

int(* ObPluginFTParser::scan_end) (ObPluginFTParserParamPtr param)

this routine will be called after next_token

在文件 ob_plugin_ftparser.h74 行定义.


该结构体的文档由以下文件生成: