OceanBase Plugin Development Kit
OceanBase Plugin Development Kit
载入中...
搜索中...
未找到
space_ftparser.cpp 文件参考
#include <new>
#include "oceanbase/ob_plugin_ftparser.h"

浏览该文件的源代码.

class  oceanbase::example::ObSpaceFTParser
 

命名空间

namespace  oceanbase
 
namespace  oceanbase::example
 

宏定义

#define _MY_U   01
 
#define _MY_L   02
 
#define _MY_NMR   04
 
#define _MY_SPC   010
 
#define _MY_PNT   020
 
#define _MY_CTR   040
 
#define _MY_B   0100
 
#define _MY_X   0200
 
#define true_word_char(ctype, character)
 

函数

int ftparser_scan_begin (ObPluginFTParserParamPtr param)
 
int ftparser_scan_end (ObPluginFTParserParamPtr param)
 
int ftparser_next_token (ObPluginFTParserParamPtr param, char **word, int64_t *word_len, int64_t *char_cnt, int64_t *word_freq)
 
int ftparser_get_add_word_flag (uint64_t *flag)
 
int plugin_init (ObPluginParamPtr plugin)
 plugin init function
 
 OBP_DECLARE_PLUGIN (example_ftparser)
 

变量

 OBP_DECLARE_PLUGIN_END
 

宏定义说明

◆ _MY_B

#define _MY_B   0100

在文件 space_ftparser.cpp57 行定义.

◆ _MY_CTR

#define _MY_CTR   040

在文件 space_ftparser.cpp56 行定义.

◆ _MY_L

#define _MY_L   02

在文件 space_ftparser.cpp52 行定义.

◆ _MY_NMR

#define _MY_NMR   04

在文件 space_ftparser.cpp53 行定义.

◆ _MY_PNT

#define _MY_PNT   020

在文件 space_ftparser.cpp55 行定义.

◆ _MY_SPC

#define _MY_SPC   010

在文件 space_ftparser.cpp54 行定义.

◆ _MY_U

#define _MY_U   01

在文件 space_ftparser.cpp51 行定义.

◆ _MY_X

#define _MY_X   0200

在文件 space_ftparser.cpp58 行定义.

◆ true_word_char

#define true_word_char ( ctype,
character )
值:
((ctype) & (_MY_U | _MY_L | _MY_NMR) || (character) == '_')
#define _MY_NMR
#define _MY_U
#define _MY_L

在文件 space_ftparser.cpp60 行定义.