![]() |
OceanBase Plugin Development Kit
OceanBase Plugin Development Kit
|
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) |
int(* | check_if_charset_supported )(ObPluginCharsetInfoPtr cs) |
check whether the charset is supported | |
fulltext parser descriptor interface for domain index splitting a document into many tokenizations.return the version of this parser
在文件 ob_plugin_ftparser.h 第 67 行定义.
int(* ObPluginFTParser::check_if_charset_supported) (ObPluginCharsetInfoPtr cs) |
check whether the charset is supported
The charset is supported if this iterface is null.
在文件 ob_plugin_ftparser.h 第 95 行定义.
int(* ObPluginFTParser::deinit) (ObPluginParamPtr param) |
在文件 ob_plugin_ftparser.h 第 73 行定义.
int(* ObPluginFTParser::get_add_word_flag) (uint64_t *flag) |
在文件 ob_plugin_ftparser.h 第 84 行定义.
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.h 第 70 行定义.
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.h 第 81 行定义.
int(* ObPluginFTParser::scan_begin) (ObPluginFTParserParamPtr param) |
this routine will be called before next_token
在文件 ob_plugin_ftparser.h 第 75 行定义.
int(* ObPluginFTParser::scan_end) (ObPluginFTParserParamPtr param) |
this routine will be called after next_token
在文件 ob_plugin_ftparser.h 第 76 行定义.